Joel Dice
|
008ac07079
|
refactor native method resolution to be simpler and more robust
|
2008-01-28 10:27:02 -07:00 |
|
Joel Dice
|
de6a1ded92
|
ensure that we populate the interface vtables of a class which does not declare any new virtual methods but does implement new interfaces relative to its superclass
|
2008-01-28 08:12:06 -07:00 |
|
Joel Dice
|
707359d555
|
remove redundant synchronization from Collections.SynchronizedCollection
|
2008-01-28 08:10:23 -07:00 |
|
Joel Dice
|
941ca81e79
|
fix build breakage in windows.cpp
|
2008-01-25 17:48:03 -07:00 |
|
Joel Dice
|
8150b957c9
|
support JIT compiling methods with unsorted exception handler tables
|
2008-01-25 17:17:27 -07:00 |
|
Joel Dice
|
aa081089ce
|
use compile-object to build jni-objects
|
2008-01-25 16:45:52 -07:00 |
|
Joel Dice
|
e403a625d1
|
second try to fix library symbol lookup
|
2008-01-25 16:38:26 -07:00 |
|
Joel Dice
|
4ea8b0a1fe
|
Merge branch 'master' of dice:git/vm
|
2008-01-25 16:25:37 -07:00 |
|
Joel Dice
|
35ada0ea65
|
search libraries for symbols in the order they are loaded
|
2008-01-25 16:25:30 -07:00 |
|
Dain
|
6926ca6778
|
Added parsing of new line characters in properties files.
|
2008-01-23 16:39:45 -07:00 |
|
Joel Dice
|
6bca3a8665
|
additional tweaks to make embedded resources work on darwin
|
2008-01-23 10:12:56 -07:00 |
|
Joel Dice
|
618684de6e
|
support embedded resources on darwin via binaryToMacho.cpp
|
2008-01-23 09:56:25 -07:00 |
|
Joel Dice
|
73ba3fcef7
|
fix build breakage in stress mode
|
2008-01-23 09:55:29 -07:00 |
|
Joel Dice
|
c3ce201a59
|
revert earlier change of breaking libclasspath.a out of libvm.a
|
2008-01-21 16:58:27 -07:00 |
|
Joel Dice
|
d3774d54bc
|
build libclasspath.a, which contains native methods for the classpath
|
2008-01-21 16:51:23 -07:00 |
|
Joel Dice
|
f29b1b9b6f
|
libvm.a should not include classpath code
|
2008-01-21 16:42:44 -07:00 |
|
Joel Dice
|
125fe3440e
|
allow java.lang.Object with no virtual methods, which may occur due to code shrinking
|
2008-01-21 16:42:12 -07:00 |
|
Joel Dice
|
c9714c73f2
|
fix frame map calculations involving exception handlers
|
2008-01-20 16:03:28 -07:00 |
|
Joel Dice
|
422133d1ba
|
initialize vtables with pointers to JIT function, including native methods, since this allows code shrinkers to eliminate unused methods without confusing the VM
|
2008-01-20 15:05:59 -07:00 |
|
Joel Dice
|
a60dafaf4f
|
only non-static fields need be preserved in bootstrap classes
|
2008-01-20 15:00:19 -07:00 |
|
Joel Dice
|
a69c366d07
|
save 'this' pointer on entrance to synchronized, non-static, non-native methods so we can release the monitor on exit, reguardless of whether the pointer at local index zero is overwritten
|
2008-01-20 11:55:08 -07:00 |
|
Joel Dice
|
e9826b2d7f
|
accept foo.bar.Baz as well as foo/bar/Baz in FindClass
|
2008-01-19 13:30:11 -07:00 |
|
Joel Dice
|
ee60d48cfe
|
fix subtle bug in hashMapInsert which caused us to update the old array previously associated with the hash map, whereas a GC causes the table to be resized when a weak reference is removed and thus a new array used
|
2008-01-19 13:12:16 -07:00 |
|
Joel Dice
|
f4e1473772
|
update vm.pro to protect system classes from obfuscation and preserve java.lang.SystemClassLoader
|
2008-01-18 18:51:37 -07:00 |
|
Joel Dice
|
d97fab6036
|
comment out some debugging log messages
|
2008-01-18 18:49:30 -07:00 |
|
Joel Dice
|
c894543806
|
add proguard include file to support minimal classpaths
|
2008-01-18 17:56:12 -07:00 |
|
Joel Dice
|
35160e46d8
|
don't include embedded boot classpath in libvm.a, only the executable
|
2008-01-18 17:54:36 -07:00 |
|
Joel Dice
|
bb701f309c
|
implement StringBuffer.append(boolean)
|
2008-01-18 16:16:24 -07:00 |
|
Joel Dice
|
88a8e74a53
|
fix register to memory mov1 implementation
|
2008-01-18 15:01:50 -07:00 |
|
Joel Dice
|
dc6c7e9121
|
use more conventional os.name properties
|
2008-01-18 08:35:20 -07:00 |
|
Joel Dice
|
e2fc8a62c7
|
permit state transitions from idle to exclusive
|
2008-01-17 18:47:32 -07:00 |
|
Joel Dice
|
090cd8a209
|
re-enter active state before throwing exception in wait()
|
2008-01-17 18:32:07 -07:00 |
|
Joel Dice
|
9ad00d0ea3
|
remove unused function and add some thread state assertions
|
2008-01-17 18:27:44 -07:00 |
|
Joel Dice
|
7252fdcbf3
|
enter active state immediately upon entry to Release*ArrayElements
|
2008-01-17 18:26:46 -07:00 |
|
Joel Dice
|
81dde8bdbb
|
fix thinko in CallLongMethodV
|
2008-01-17 17:56:55 -07:00 |
|
Joel Dice
|
9a13df3024
|
fix marshalling return values when calling java methods from native code
|
2008-01-17 12:55:05 -07:00 |
|
Joel Dice
|
7a7c36f8e0
|
another attempt to whip Monitor::wait into shape
|
2008-01-16 15:17:28 -07:00 |
|
Joel Dice
|
bb85f5c94d
|
fix wait/notify regression introduced in last commit
|
2008-01-16 14:58:27 -07:00 |
|
Joel Dice
|
6ba7852a62
|
tweak System::Monitor::wait to avoid notify deadlock
|
2008-01-16 13:46:39 -07:00 |
|
Joel Dice
|
f5f7b01689
|
remove extern "C" modifier from vmPrintTrace definition
|
2008-01-16 10:48:14 -07:00 |
|
Joel Dice
|
4571e75f7a
|
add vmPrintTrace function which can print a Java stack trace without allocating memory
|
2008-01-16 10:30:12 -07:00 |
|
Joel Dice
|
86bdd48a66
|
when invoking Java methods from native code on 32-bit systems, push 32-bit halves of 64-bit values in reverse order since they are reversed again when pushed on the stack
|
2008-01-15 18:01:11 -07:00 |
|
Joel Dice
|
d1b4dfccd0
|
fix class cast exception message thinko
|
2008-01-15 16:33:20 -07:00 |
|
Joel Dice
|
37b33457c1
|
Merge branch 'master' of dice:git/vm
|
2008-01-14 16:37:41 -07:00 |
|
Joel Dice
|
2f83468b80
|
remove context argument from Allocator::tryAllocate and Allocator::allocate, since we aren't using it after all
|
2008-01-14 16:37:24 -07:00 |
|
Eric Scharff
|
fbec4bec83
|
Use non-standard MAP_ANON for memory mapping
|
2008-01-14 10:58:11 -07:00 |
|
Joel Dice
|
2d042616d0
|
Merge branch 'master' of dice:git/vm
|
2008-01-14 09:40:27 -07:00 |
|
Joel Dice
|
a89c22b493
|
force major collection under low memory condition
|
2008-01-14 09:39:57 -07:00 |
|
Joel Dice
|
029973943e
|
increase max heap size to 128MB
|
2008-01-14 09:38:14 -07:00 |
|
Dain
|
faa3052b28
|
set MAP_32BIT for 32bit machines
|
2008-01-14 09:33:54 -07:00 |
|