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
Joel Dice
94bae01b39
never call wasCollected() on a fixed object, since it will give a random result
2007-10-29 16:12:16 -06:00
Joel Dice
67faa23d83
Merge branch 'master' of dice:git/vm
2007-10-29 15:42:48 -06:00
Joel Dice
956106f518
implement StringBuilder.delete() more efficiently
2007-10-29 15:40:05 -06:00
Eric Scharff
c97b16b8bc
implement a few classpath methods required by SWT for Mac OS X
2007-10-29 15:23:13 -06:00
Eric Scharff
bcd2c75f41
Implements String.delete(char oldChar, String newChar), StringBuffer and
...
StringBuilder delete(int startIndex, int endIndex), and
replace (int startIndex, int endIndex, String replacementString)
2007-10-29 15:07:36 -06:00
Joel Dice
78ee14fff5
Merge branch 'master' of dice:git/vm
2007-10-29 14:57:40 -06:00
Joel Dice
75d4a4ff96
implement a few classpath methods required by SWT for Win32
2007-10-29 14:57:33 -06:00
Eric Scharff
8e95590dea
Added a temporary hack for logging.
...
if the System property rt.log.dir is set, standard logging messages are
written both to standard out and to the file log.txt inside the directory
provided. This allows us to get debugging information quickly.
2007-10-29 12:04:26 -06:00
Joel Dice
7aecdb6ce0
undo accidentally-committed makefile change
2007-10-28 18:54:21 -06:00
Joel Dice
a80677d673
fix aliasing warnings
2007-10-28 18:51:38 -06:00
Joel Dice
09cedfd7cb
make Boolean, Byte, Short, etc. implement Comparable
2007-10-28 18:51:08 -06:00