Joel Dice
ca84dd26f1
fix System.loadLibrary for OpenJDK tails=true build
2013-03-05 15:43:49 -07:00
Joel Dice
585186f7d3
avoid allocating a new gen2 heap larger than the available heap capacity
2013-03-05 09:35:21 -07:00
Joel Dice
84f99f0dca
remove thread from thread group on termination
...
In the OpenJDK library, ThreadGroup maintains an array of all Threads
in that group, so the VM must explicitly remove threads as they exit
or else neither they nor any objects they reference will be eligable
for GC.
2013-03-05 09:06:19 -07:00
Joel Dice
c6185c8034
remove "low memory" heuristic from heap code
...
The original goal was to minimize memory usage by garbage collecting
more frequently and more comprehensively as we got closer to the heap
limit. In practice, though, this just slowed the VM to a crawl as
memory pressure increased. If an app really wants to use a lot of
memory, the VM shouldn't penalize it aside from throwing an
OutOfMemoryError if it exceeds the limit.
2013-03-04 16:02:59 -07:00
Joel Dice
3209f8750a
fix heapdump build
2013-03-04 16:00:35 -07:00
Joel Dice
5d730fe8fa
various tweaks to get hello-ios working with the Android library
2013-03-04 14:24:41 -07:00
Joel Dice
b3978c0a0a
fix msvc build
2013-03-04 11:09:59 -07:00
Joel Dice
a142a46d41
Merge remote-tracking branch 'jw/master'
2013-03-04 09:37:22 -07:00
Zsombor Gegesy
7726bf49de
fix lzma includes
2013-03-02 22:26:24 +01:00
Joshua Warner
5b973c8fc3
fix bootimage build
2013-03-01 16:27:41 -07:00
Joshua Warner
add029ad3c
fix powerpc build
...
Evidently, the powerpc gcc compiler feels it necessary to #define powerpc to 1. Seriously? SERIOUSLY????
2013-02-28 16:41:44 -07:00
Joshua Warner
0b01dd565a
fix multiple-include-of-stdint errors
2013-02-28 15:57:09 -07:00
Joshua Warner
9327043bc5
Merge branch 'master' into wip
...
Conflicts:
makefile
src/codegen/arm/assembler.cpp
src/codegen/powerpc/assembler.cpp
src/codegen/x86/assembler.cpp
2013-02-27 19:27:07 -07:00
Joel Dice
5e2d00010b
move headers from src to src/avian
...
This is necessary to avoid name conflicts on various platforms. For
example, iOS has its own util.h, and Windows has a process.h. By
including our version as e.g. "avian/util.h", we avoid confusion with
the system version.
2013-02-27 13:33:29 -07:00
Joel Dice
44defda878
fix unused parameter error
2013-02-27 12:10:10 -07:00
Joel Dice
3c1db46c57
don't throw an error if the mawt library can't be loaded
2013-02-27 11:34:43 -07:00
Joel Dice
e6a46fc014
various fixes to get avian-swt-examples working with the Android class library
2013-02-26 16:24:02 -07:00
Joel Dice
025b628894
Merge remote-tracking branch 'github/master' into dicej
2013-02-25 16:43:09 -07:00
Joel Dice
0bb0b1ec0e
enable use of Android class library on 64-bit systems
...
This involved patching libcore.git to make it 64-bit safe.
2013-02-25 16:41:46 -07:00
Joel Dice
1310fbbe4f
reset alignment at inheritence boundary when iterating over fields
...
In type-generator, we were incorrectly calculating field offsets where
a class inherits from another class whose last field has a natural
alignment which is different from the native word size. Surprisingly,
this only popped up when I built using the Android class library on a
64-bit system.
2013-02-25 16:37:46 -07:00
Joel Dice
fddd3ec49d
fix openjdk-src build regression due to RUNTIME_ARRAY changes
2013-02-25 10:38:06 -07:00
Joshua Warner
4d38873096
begin merging target assembler multimethod code
2013-02-24 22:38:58 -07:00
Joshua Warner
82eec28856
rename x86 Offset for consistency with arm and powerpc OffsetPromise
2013-02-24 20:48:06 -07:00
Joshua Warner
d2caf50772
fix debug build
2013-02-24 16:03:19 -07:00
Joshua Warner
4c8b593539
break Architecture out of Assembler
2013-02-23 23:03:01 -07:00
Joshua Warner
56625b89d8
group x86, arm, and powerpc target directories into 'target'
2013-02-23 22:47:52 -07:00
Joshua Warner
3d1ae1d517
fix include-what-you-use violations in x86 assembler
2013-02-23 22:29:58 -07:00
Joshua Warner
900b447e27
further break out powerpc assembler
2013-02-23 22:29:03 -07:00
Joshua Warner
73dda9c26e
begin splitting out powerpc assembler
2013-02-23 22:26:48 -07:00
Joshua Warner
22d6ed1bec
further split out arm assembler
2013-02-23 22:25:15 -07:00
Joshua Warner
fd59e1e08d
begin splitting out arm assembler
2013-02-22 20:47:56 -07:00
Joel Dice
686c2352c1
all tests now pass for Android class library build
2013-02-22 17:23:59 -07:00
Joel Dice
0a4a04cc09
Merge remote-tracking branch 'github/master' into dicej
2013-02-22 17:13:10 -07:00
Joshua Warner
fc84f62a65
prevent garbage collection as vm shuts down
2013-02-22 16:33:07 -07:00
Joel Dice
b32dfb674c
fix merge fallout (take 2)
2013-02-22 14:54:13 -07:00
Joel Dice
5e65468fef
fix merge fallout
2013-02-22 14:50:15 -07:00
Joel Dice
9060a31348
Merge remote-tracking branch 'github/master' into dicej
...
Conflicts:
src/classpath-openjdk.cpp
2013-02-22 14:43:20 -07:00
Joel Dice
d152f8cf74
fix openjdk build
2013-02-22 14:41:24 -07:00
Joel Dice
2f549dd3a3
fix RUNTIME_ARRAY_BODY regressions in classpath-openjdk.cpp
2013-02-22 14:20:09 -07:00
Joel Dice
8546ca5670
fix Avian classpath build
2013-02-22 11:55:01 -07:00
Joel Dice
201473cf87
more work on Android classpath port
2013-02-22 11:06:49 -07:00
Joshua Warner
d1a149a0a1
audit-codegen prototype working
2013-02-21 21:57:53 -07:00
Joshua Warner
aaa076f1df
move arg-parser.h to include
2013-02-21 20:14:37 -07:00
Joshua Warner
fe7bb5e640
Merge branch 'master' into wip
...
Conflicts:
makefile
2013-02-21 19:33:38 -07:00
Joshua Warner
a9e2984aaf
fix arm and powerpc build
2013-02-21 16:51:31 -07:00
Joshua Warner
68d28eab2e
insert RUNTIME_ARRAY_BODY to fix windows.cpp
2013-02-21 16:29:19 -07:00
Joshua Warner
af0e7767eb
Merge branch 'master' of github.com:ReadyTalk/avian
...
Conflicts:
makefile
2013-02-21 16:23:22 -07:00
Joshua Warner
ab9f9550cf
move tokenizer.h to include/avian/util/string.h, merge in the String declaration from object-writer/tools.h
2013-02-21 16:18:20 -07:00
Joel Dice
42d39b1af1
more Android class library work
2013-02-21 15:37:17 -07:00
Joel Dice
204bbc134d
fix invalid size calculation in ReleaseStringUTFChars
2013-02-21 15:36:01 -07:00