Commit Graph

10247 Commits

Author SHA1 Message Date
Joel Dice
5c807a4ddc implement shl; fix thinko in Frame::Protector; fix uninitialized value warnings 2007-12-17 15:38:59 -07:00
Joel Dice
4c3a2575ba lots of JIT bugfixes; all top-level tests now pass 2007-12-17 13:55:31 -07:00
Joel Dice
25ea07aed5 snapshot - JIT broken 2007-12-16 18:46:46 -07:00
Joel Dice
56a8ce8fb1 more JIT bugfixes; implement mul instruction 2007-12-16 16:52:38 -07:00
Joel Dice
e4fbadd051 JIT-related GC safety fixes 2007-12-16 15:41:07 -07:00
Joel Dice
fb29fd11d8 more JIT bugfixes 2007-12-16 14:30:19 -07:00
Joel Dice
86218ebcb8 fix stack pointer calculation in unwind code and set rbx to thread pointer when unwinding 2007-12-15 18:00:25 -07:00
Joel Dice
796a64a426 lots of JIT bugfixes and cleanups 2007-12-15 17:24:15 -07:00
Joel Dice
924a588cdf Merge branch 'master' of dice:git/vm 2007-12-14 18:11:25 -07:00
Joel Dice
403a6b0200 lots of JIT bugfixes 2007-12-14 18:11:01 -07:00
Eric Scharff
5af58548b7 Removed unused variable in StringBuilder. 2007-12-14 16:16:40 -07:00
Joel Dice
12e10b57f5 JIT bugfixes and new instructions; exception propagation and stack traces are functional but not yet entirely correct 2007-12-14 11:27:56 -07:00
Joel Dice
b3918a0d7d support encoding instructions with indexed and scaled memory offsets 2007-12-13 18:59:56 -07:00
Joel Dice
ec8fc80ebe refactor compile.cpp to delay code generation until after all byte code has been visited; bugfixes 2007-12-13 17:27:09 -07:00
Joel Dice
74a0ae3493 Merge branch 'master' of dice:git/vm 2007-12-13 09:20:02 -07:00
Joel Dice
216224dcc4 fix length tracking bugs in StringBuilder 2007-12-13 09:19:58 -07:00
Joel Dice
c4347bd7d3 more JIT bugfixes and new instructions 2007-12-12 17:18:31 -07:00
Joel Dice
b2147c2c99 lots of JIT bugfixes and a few new instructions 2007-12-12 15:19:13 -07:00
Joel Dice
fe24005ff0 remove virtual stack code due to problems with jumps, to be revisited along with other optimizations when everything is working; various bugfixes 2007-12-12 11:59:45 -07:00
Joel Dice
fab77e4d96 don't call prologue and epilogue from compileDefault, since we want the original rbp and rsp values 2007-12-11 18:19:03 -07:00
Joel Dice
33b2a4a1e8 support absolute operands on virtual stack and absolute to memory movs 2007-12-11 17:27:04 -07:00
Joel Dice
740e86a084 remove unused function; call logicalFlush in pop functions 2007-12-11 17:08:55 -07:00
Joel Dice
d70e3aaefb JIT progress: new, invokespecial, etc. 2007-12-11 16:52:28 -07:00
Joel Dice
396c979de8 fix interpret.cpp build breakage 2007-12-11 14:29:04 -07:00
Joel Dice
1596309207 Merge branch 'master' of dice:git/vm 2007-12-11 14:27:08 -07:00
Joel Dice
fdeafe46fd 2+2 test now works with new JIT code 2007-12-11 14:26:59 -07:00
Eric Scharff
ec653fbc1e Use the default line separator when logging 2007-12-11 10:26:28 -07:00
Joel Dice
286f290665 more JIT progress 2007-12-10 17:48:09 -07:00
Joel Dice
6b1f01511b refactor logical stack mechanism in JIT code 2007-12-09 16:06:47 -07:00
Joel Dice
f8cda0cd85 more JIT compiler progress 2007-12-09 15:45:43 -07:00
Joel Dice
5b5a4fe8d7 progress on JIT compiler sketch 2007-12-09 13:03:21 -07:00
Joel Dice
55b956916f initial sketch of JIT compiler 2007-12-08 16:22:13 -07:00
Joel Dice
22edd2e6a4 set Verbose to false in heap.cpp 2007-12-08 16:19:48 -07:00
Joel Dice
00b7fa3b9d assert that fixed object has object mask before marking it 2007-12-07 15:58:38 -07:00
Joel Dice
d057ac6a47 mark classes containing object array fields as needing an object mask in type-generator.cpp 2007-12-07 10:05:10 -07:00
Joel Dice
c096c8f1e4 only consider gen2 oversized if its capacity exceeds (InitialGen2CapacityInBytes / BytesPerWord) 2007-12-07 08:35:28 -07:00
Joel Dice
612f4fa0b8 shrink gen2 segment if it grows too large 2007-12-07 08:31:41 -07:00
Joel Dice
edf415102a assert heap count is empty in System::dispose() 2007-12-07 08:30:30 -07:00
Joel Dice
fc78e122c0 Merge branch 'master' of dice:git/vm 2007-12-03 16:36:57 -07:00
Joel Dice
9f5c2f4122 implement Arrays.sort 2007-12-03 16:32:54 -07:00
Eric Scharff
3cc1232fc2 sys/wait.h should only be included when NOT compiling for win32 2007-12-03 13:25:46 -07:00
James Sanders
3f8a370ba8 Implemented Runtime.exec, Process.waitFor and Process.exitValue for non-windows 2007-11-30 16:39:51 -07:00
James Sanders
266c256116 Added IllegalThreadStateException, which is used by java.lang.Process 2007-11-30 16:11:06 -07:00
James Sanders
156bd5cf1a Merge branch 'master' of dice.readytalk.com:/home/dicej/git/vm 2007-11-29 18:01:17 -07:00
James Sanders
8f652ce12d Implemented native Process.exitValue and Process.waitFor on windows 2007-11-29 18:01:07 -07:00
Joel Dice
c881f32d7c Merge branch 'master' of dice:git/vm 2007-11-29 08:04:22 -07:00
Joel Dice
0a63fc3865 fix a couple thinkos in jnienv.cpp 2007-11-29 08:04:07 -07:00
Joel Dice
d8374a76e2 check again for entry in monitorMap after entering the exclusive state in objectMonitor() in case another thread beat us to creating a monitor for the object 2007-11-29 08:03:45 -07:00
James Sanders
b6ad93856d Merge branch 'master' of dice.readytalk.com:/home/dicej/git/vm 2007-11-28 17:52:23 -07:00
James Sanders
bf102aa1a8 implemented Runtime.exec(String) and Runtime.exec(String[]) 2007-11-28 17:52:08 -07:00