Joel Dice
ded1016b32
clean up compile2.cpp so it compiles (but does not yet link)
2007-11-20 09:21:17 -07:00
Joel Dice
6c8a35c341
move populateMultiArray from interpret.cpp to process.h
2007-11-20 09:20:26 -07:00
Joel Dice
37a1aa72f9
sketch of Frame class implementation for new JIT code
2007-11-19 14:37:50 -07:00
Joel Dice
2eeff1d50e
sketch implementations of lookupswitch and tableswitch
2007-11-19 08:11:39 -07:00
Joel Dice
7eb49f272c
sketch or stub-out remaining instructions in new JIT code
2007-11-18 13:32:31 -07:00
Joel Dice
e9fc1d9057
initial sketch of new JIT code
2007-11-18 12:19:27 -07:00
Joel Dice
cab88c7e1f
remove JIT-related data structures from types.def since that code is being reworked
2007-11-18 12:18:37 -07:00
Joel Dice
d105a180db
remove unecessary namespace qualifier
2007-11-18 12:17:14 -07:00
Joel Dice
80f23a5040
implement Class.getEnumConstants
2007-11-17 11:39:29 -07:00
Joel Dice
4f047ded8c
make ArrayList.set() do bounds checking
2007-11-15 11:53:33 -07:00
Joel Dice
a6a1f8ba98
make ByteBuffer implement Comparable
2007-11-15 11:53:01 -07:00
Joel Dice
3570beaba9
specify -DNDEBUG cflag in debug mode to improve performance when debugging large apps
2007-11-14 16:23:15 -07:00
Joel Dice
115622f54a
add GetArrayLength, NewObject, NewObjectV, MonitorEnter, and MonitorExit JNIEnv methods
2007-11-14 16:22:29 -07:00
Joel Dice
69f1024887
add missing classpath methods
2007-11-14 09:32:36 -07:00
Joel Dice
d1048f9bcb
implement ByteBuffer.get(byte[])
2007-11-09 14:32:33 -07:00
Joel Dice
7b8fb7233e
add PersistentSet.toString(), fix a bug when removing the last element, and add a couple sanity checks
2007-11-09 08:08:35 -07:00
Joel Dice
fef3cddb9e
fix build breakage due to missing isEmpty() methods
2007-11-07 09:48:09 -07:00
Joel Dice
4611c89dbe
add a few classpath methods
2007-11-06 17:41:53 -07:00
Eric Scharff
76d876c039
Removed custom logging code, which is factored correctly elsewhere.
2007-11-06 11:20:12 -07:00
Joel Dice
313816ee34
minor tweaks to reduce memory usage
2007-11-06 08:29:05 -07:00
Joel Dice
fe0e542afe
finish support for inline vtables in class objects; convert constant pools from arrays to singletons to reduce memory footprint
2007-11-05 14:40:17 -07:00
Joel Dice
f1bc2be9f9
if we can't resolve a bootstrap class in isAssignableFrom(), we swallow the exception and return false
2007-11-05 09:08:08 -07:00
Joel Dice
fe0708c09a
check for all non-virtual methods in invoke(), not just static ones
2007-11-05 08:52:03 -07:00
Joel Dice
16ea75f91c
preserve vm flags of bootstrap class (except for BootstrapFlag) in updateBootstrapClass()
2007-11-05 08:39:48 -07:00
Joel Dice
19d36cc463
implement impdep1 instruction for lazily loading bootstrap classes
2007-11-05 08:29:43 -07:00
Joel Dice
6c0e0c37e2
snapshot
2007-11-05 07:28:46 -07:00
Joel Dice
514be2dc87
snapshot
2007-11-04 16:10:33 -07:00
Joel Dice
94e9bd0fd2
clean up bootstrap type generation to eliminate redundancy (broken)
2007-11-04 14:15:28 -07:00
Joel Dice
bea4a73f54
Merge branch 'singleton'
2007-11-02 15:56:48 -06:00
Joel Dice
7dfbd87a40
bugfixes
2007-11-02 15:42:19 -06:00
Joel Dice
e820b6a8a4
sketch of singleton support
2007-11-02 15:08:14 -06:00
Joel Dice
80775f6cf8
initial sketch of singleton support
2007-11-02 08:15:06 -06:00
Joel Dice
d3592f2dbd
tweak makefile to recompile all dirty java files in a single javac invocation for efficiency
2007-11-02 08:01:10 -06:00
Eric Scharff
eb3bd1ce7c
Got strip working for Mac OS X
2007-11-01 14:37:51 -06:00
Eric Scharff
625f0006c9
Fixed typo for Mac OS X builds
2007-11-01 14:06:26 -06:00
Eric Scharff
7f33b7371b
Factored JNIEXPORT into one place. Adopted the visbility attribute that
...
should allow strip to work on Mac OS X
2007-11-01 14:00:22 -06:00
Joel Dice
b71d5104ba
snapshot
2007-11-01 13:24:09 -06:00
Joel Dice
7a4cca45c2
fix subtle length vs. limit bug in ByteArrayInputStream
2007-10-31 10:11:14 -06:00
Joel Dice
df5a81a73c
Merge branch 'master' of dice:git/vm
2007-10-31 09:28:16 -06:00
Eric Scharff
1d04186a0c
Fixed bug in ByteBuffer.getLong()
2007-10-31 09:27:26 -06:00
Joel Dice
fb36d7c605
Merge branch 'master' of dice:git/vm
2007-10-31 08:24:52 -06:00
Eric Scharff
2fd2df53fd
Fixed thinko in ByteArrayInputStream
2007-10-30 16:52:24 -06:00
Eric Scharff
6afb667e03
Merge branch 'master' of dice.ecovate.com:/home/dicej/git/vm
2007-10-30 16:24:12 -06:00
Eric Scharff
57fe9ea466
Test tweak
2007-10-30 16:24:09 -06:00
Eric Scharff
1da69cf881
Test tweak
2007-10-30 16:23:51 -06:00
Eric Scharff
b3891debb2
Fixes build for Mac OS X.
...
If the binary is stripped on Mac OS X, dlsym fails, so builtin native library
calls do not work. The solution, in this case, is to not strip the binary.
2007-10-30 16:22:53 -06:00
Eric Scharff
b85c643251
Minor optimization for ByteArrayInputStream
2007-10-30 15:37:46 -06:00
Eric Scharff
907ce57975
Order of arraycopy backwards
2007-10-30 15:10:32 -06:00
Eric Scharff
df79f410f1
Optimize bulk reads from ByteArrayInputStream
2007-10-30 15:08:49 -06:00
Eric Scharff
958d39aa03
Add debug information for ByteBuffer
2007-10-30 14:55:00 -06:00