Joel Dice
200e933923
fix regression related to logging verbosity and exception handling in compile.cpp
2007-10-16 12:16:12 -06:00
Eric Scharff
0d6ce6f54f
A stress test of both the garbage collector and function calls in general
2007-10-16 12:15:17 -06:00
Eric Scharff
6be84b4653
Adds some missing methods to TreeSet, which really ought to be an instance of Collection
2007-10-16 12:14:03 -06:00
Joel Dice
fc898c4df1
fix broken assumption that all native functions will push rbp on the stack first thing
2007-10-16 12:10:56 -06:00
Joel Dice
0a5de853d3
Merge branch 'master' of dice:git/vm
2007-10-16 11:21:35 -06:00
Joel Dice
96ed27c55c
various bugfixes to get Tree.java to work
2007-10-16 11:21:26 -06:00
Eric Scharff
91ffeb6aed
Signature of removeElementAt() was not correct, fixes exception in SWT
2007-10-15 14:06:06 -06:00
Joel Dice
5f6258045e
implement various floating point instructions; fix Floats.java to actually test something
2007-10-15 13:12:38 -06:00
Joel Dice
659555b6ce
fix use of uninitialized values at root thread creation time when running in stress mode; allocate Thread::defaultHeap on the heap instead of as part of the Thread structure
2007-10-13 19:18:25 -06:00
Joel Dice
5c99edd90e
fix many JIT GC bugs; GC.java now passes
2007-10-13 15:48:40 -06:00
Joel Dice
f58c6ef4e8
mark destination object array in System.arraycopy() if it resides in the tenured heap
2007-10-13 15:47:45 -06:00
Joel Dice
64313aa243
fix return value of HashMap.put()
2007-10-13 15:46:20 -06:00
Joel Dice
96c3b2b6a7
superficial code cleanup
2007-10-12 18:22:52 -06:00
Joel Dice
dbbcf90e6c
Merge branch 'master' of dice:git/vm
2007-10-12 16:06:39 -06:00
Joel Dice
b8ce22dc42
JIT GC bugfixes
2007-10-12 16:06:33 -06:00
Eric Scharff
e3d45691ff
ssl makeflags should never have been checked in
2007-10-12 15:03:12 -06:00
Eric Scharff
05321e97f9
If you pass 0 to printTrace, it will print the stack trace of a null
...
pointer exception. This dramatically simplifies debugging in GDB:
p vm::printTrace(t, 0)
2007-10-12 14:54:37 -06:00
Eric Scharff
a9bbaff74f
Added Math.ceil() and Math.sin()
2007-10-12 12:53:56 -06:00
Joel Dice
349fe47c8d
JIT GC progress; fix interface method lookup bug
2007-10-12 11:56:43 -06:00
Joel Dice
5a92852f74
stack mapping progress
2007-10-12 08:26:36 -06:00
Joel Dice
3e1dbab0f0
move bitmap helper functions to common.h; preserve callee-saved registers in vmInvoke()
2007-10-11 20:52:16 -06:00
Joel Dice
201a658941
stack mapping bugfixes
2007-10-11 18:30:46 -06:00
Eric Scharff
79ad3bdb76
Exception thrown by ByteBuffer
2007-10-11 17:04:45 -06:00
Eric Scharff
15d1fe8b75
Fix hashmap insertion bug (entire bucket was getting erased in some put() operations)
2007-10-11 17:03:51 -06:00
Eric Scharff
b95a573b7f
Merge branch 'master' of dice.ecovate.com:/home/dicej/git/vm
2007-10-11 16:42:41 -06:00
Joel Dice
ebbb45ad98
Merge branch 'master' of dice:git/vm
2007-10-11 16:43:11 -06:00
Joel Dice
d5a8193614
lots of work on stack mapping, plus a couple of bugfixes
2007-10-11 16:43:03 -06:00
Eric Scharff
32946417b7
Fixed subtle bug in getLong()
2007-10-11 16:42:33 -06:00
Eric Scharff
3fbe5b9a01
Add Math.pow() and Math.sqrt() native peers
2007-10-11 16:41:52 -06:00
Eric Scharff
9d3027540b
Add meaningful toString() methods
2007-10-11 16:41:07 -06:00
Eric Scharff
00cfa587bc
Various bug fixes and optimizations
2007-10-11 15:41:23 -06:00
Eric Scharff
75c51bb5ec
Added user.home system property
2007-10-11 15:39:21 -06:00
Eric Scharff
db2b7e8fa7
Semantics of getChars was incorrect. It should specify a begin
...
and end index, not a bunch of lengths
2007-10-11 10:00:35 -06:00
Eric Scharff
e831a41e90
Implemented ByteBuffer.clear()
2007-10-11 09:59:52 -06:00
Eric Scharff
b59d234b16
Math.floor() is used by SWT. Defers to the libm (or GCC builtin)
...
for floor
2007-10-11 09:59:22 -06:00
Joel Dice
69389ea8be
more progress towards stack mapping
2007-10-10 16:39:40 -06:00
Joel Dice
808b4780b1
progress towards stack mapping
2007-10-10 15:34:04 -06:00
Joel Dice
1406d6bc24
refactor parts of compile.cpp to improve time efficiency of java IP -> machine IP translation and to prepare for stack object reference tracking
2007-10-10 11:26:28 -06:00
Joel Dice
915ade9ccc
various JIT bugfixes
2007-10-09 13:30:01 -06:00
Joel Dice
defa8c62ac
64-bit arithmetic bugfixes
2007-10-09 11:15:40 -06:00
Joel Dice
8c2437abb0
Merge branch 'master' of dice:git/vm
2007-10-09 08:14:58 -06:00
Joel Dice
7e0731ebdd
various bugfixes involving longs
2007-10-08 17:13:55 -06:00
Eric Scharff
bd8b7ddfb0
Merge branch 'master' of dice.ecovate.com:/home/dicej/git/vm
2007-10-08 15:46:20 -06:00
Eric Scharff
d171c03857
Oops, I shouldn't have commented out the MAKEFLAGS
2007-10-08 15:46:09 -06:00
Joel Dice
abc46c3d30
Merge branch 'master' of dice:git/vm
2007-10-08 15:41:49 -06:00
Joel Dice
c7d7c4ca0a
implement additional instructions for JIT; fix bug in dispose(Thread*,Reference*)
2007-10-08 15:41:41 -06:00
Eric Scharff
673aec28fb
The warning -Wold-style-cast turns out to be more trouble than its worth
...
when dealing with old-style casts that are in header files. Removing.
2007-10-08 13:29:40 -06:00
Eric Scharff
782081d1ff
Use custom initialization scheme to allow the java-nio library to be linked without
...
the stdc++ library, using a custom operator new
2007-10-08 13:05:56 -06:00
Eric Scharff
71e7a6d796
Simple non-blocking client and server example programs. The client
...
actually simulates blocking IO by implementing a Socket OutputStream, and
sends a file to a port. The server listens on a port and dumps the output
to test files. Together, these classes can be used to send a file from
a client to a server machine over a socket.
2007-10-07 17:15:29 -06:00
Eric Scharff
9368dd2acc
Fix another off-by-one error when EOS is hit on the socket
2007-10-07 11:35:48 -06:00