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
|
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
|
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 |
|
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 |
|
Joel Dice
|
d5a8193614
|
lots of work on stack mapping, plus a couple of bugfixes
|
2007-10-11 16:43:03 -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
|
7e0731ebdd
|
various bugfixes involving longs
|
2007-10-08 17:13:55 -06:00 |
|
Joel Dice
|
c7d7c4ca0a
|
implement additional instructions for JIT; fix bug in dispose(Thread*,Reference*)
|
2007-10-08 15:41:41 -06:00 |
|
Joel Dice
|
e32a335079
|
Merge branch 'master' of dice:git/vm
Conflicts:
src/cdecl.S
|
2007-10-04 17:17:57 -06:00 |
|
Joel Dice
|
feeaecbfd8
|
more work on JIT unwinding
|
2007-10-04 16:41:19 -06:00 |
|
Eric Scharff
|
a9fcb59e6c
|
Fix a floating point comparison bug - Gets simple SWT examples to work on
Mac OS X
|
2007-10-04 10:21:14 -06:00 |
|
Eric Scharff
|
ace36f1b15
|
Simplify code for Mac stack alignment conventions
|
2007-10-04 07:30:39 -06:00 |
|
Joel Dice
|
2135f62584
|
progress towards JIT stack unwinding
|
2007-10-03 21:19:39 -06:00 |
|
Joel Dice
|
404d996c1e
|
snapshot
|
2007-10-03 18:41:54 -06:00 |
|
Joel Dice
|
ba03aa88df
|
snapshot
|
2007-10-02 19:54:21 -06:00 |
|
Joel Dice
|
f7058f8fd6
|
snapshot
|
2007-10-02 18:22:48 -06:00 |
|
Eric Scharff
|
d2053d51d2
|
Floats are always passed as doubles in varargs calls. Properly pop them
off the stack and cast them
|
2007-10-02 09:50:08 -06:00 |
|
Joel Dice
|
68e382ca8d
|
snapshot
|
2007-10-01 18:08:17 -06:00 |
|
Joel Dice
|
45dc118ab9
|
invoke native methods using a common routine, instead of compiling code specific to each method
|
2007-10-01 09:19:15 -06:00 |
|
Joel Dice
|
7ecb5b9c30
|
fixes for various recent regressions
|
2007-09-30 10:32:17 -06:00 |
|
Joel Dice
|
7caedba26f
|
hello, world!
|
2007-09-30 09:52:21 -06:00 |
|
Joel Dice
|
ea47976aad
|
implement array load instructions
|
2007-09-29 22:07:22 -06:00 |
|
Joel Dice
|
a73f474f34
|
implement Processor::makeLocalReference()/disposeLocalReference()
|
2007-09-29 21:33:38 -06:00 |
|
Joel Dice
|
8ae36c05b7
|
lots of new instructions and bugfixes
|
2007-09-29 20:48:27 -06:00 |
|
Joel Dice
|
b0500a881c
|
implement checkcast and instanceof
|
2007-09-29 15:08:29 -06:00 |
|
Joel Dice
|
569cfa9e07
|
implement more instructions; various bugfixes
|
2007-09-29 14:24:14 -06:00 |
|
Joel Dice
|
f2ec75e202
|
handle 32-bit immediate values in Assembler.push()
|
2007-09-29 12:34:56 -06:00 |
|
Joel Dice
|
79603e284d
|
sketch of Compiler.compileNative() and ifnull instruction implementation
|
2007-09-28 17:41:03 -06:00 |
|
Joel Dice
|
ddab82996c
|
implement invokestatic, putstatic, and bipush; respect special handling of rsp and rbp in Assembler
|
2007-09-28 08:45:26 -06:00 |
|
Joel Dice
|
37ccb6cb46
|
Merge branch 'master' of dice:git/vm
|
2007-09-27 16:21:00 -06:00 |
|
Joel Dice
|
d1681c0918
|
add a few more instructions to compile.cpp and fix bugs in others; invokespecial and invokevirtual are working
|
2007-09-27 16:20:54 -06:00 |
|
Joel Dice
|
bd95ccdbd6
|
clear object header flags after copying array in Object.clone()
|
2007-09-27 16:10:29 -06:00 |
|
Eric Scharff
|
2ae6aa7ddf
|
Fix System.arraycopy when the source and dest are the same
|
2007-09-27 15:06:56 -06:00 |
|
Joel Dice
|
f1bdc4c745
|
various fixes to get JIT working on x86_64
|
2007-09-26 18:01:38 -06:00 |
|
Joel Dice
|
2f3f97d550
|
clean up compile.cpp and support both x86_64 and i386; further refactoring to support JIT
|
2007-09-26 17:23:03 -06:00 |
|
Joel Dice
|
770e48c197
|
make Object.clone() work for arrays
|
2007-09-26 13:45:52 -06:00 |
|
Joel Dice
|
1207989f72
|
fix build and runtime bugs introduced in last commit
|
2007-09-26 08:43:40 -06:00 |
|
Joel Dice
|
e7c8fb645a
|
JIT works for Instructions.java
|
2007-09-25 17:53:11 -06:00 |
|
Joel Dice
|
1c90708abf
|
bugfixes for recent refactoring effort
|
2007-09-24 07:46:48 -06:00 |
|
Joel Dice
|
8d983c8a39
|
refactoring effort to pave the way for JIT compilation
|
2007-09-23 19:39:03 -06:00 |
|
Joel Dice
|
65a3ee4277
|
superficial tweaks
|
2007-09-21 08:16:43 -06:00 |
|
Joel Dice
|
3838cd0e68
|
strip leading slashes from path in JarElement::find()/exists()
|
2007-09-21 08:15:39 -06:00 |
|
Eric Scharff
|
36f1d3206e
|
The proper extension for Mac JNI libraries is .jnilib. Hard-coded constants
have been factored to common locations. Furthermore, the LD_LIBRARY_PATH
environment variable is DYLD_LIBRARY_PATH on Mac OS X.
|
2007-09-20 10:13:41 -06:00 |
|
Joel Dice
|
a688a6f61a
|
use lib%s.dylib to map library names on Darwin
|
2007-09-19 18:37:25 -06:00 |
|
Joel Dice
|
54cabf9240
|
align SP to 16 byte boundary on Darwin in cdecl.S
|
2007-09-19 18:36:35 -06:00 |
|
Joel Dice
|
1d68f87f75
|
remove unnecessary .type declaration from amd64.S
|
2007-09-19 18:12:08 -06:00 |
|
Joel Dice
|
a3ef7f2b94
|
slightly more efficient implementation of pad()
|
2007-09-19 18:11:19 -06:00 |
|
Joel Dice
|
9de7f39ceb
|
Merge branch 'master' of dice:git/vm
|
2007-09-19 17:51:26 -06:00 |
|
Joel Dice
|
28f6f29477
|
eliminate instructions from *.S which restored the stack pointer unnecessarily
|
2007-09-19 17:29:20 -06:00 |
|
Eric Scharff
|
ebdc192f64
|
.type call was unnecessary - now removed
|
2007-09-19 10:35:13 -06:00 |
|
Eric Scharff
|
e5c8cb4e41
|
Reverted the assembly, since the Mac didn't support this anyway
|
2007-09-19 10:27:48 -06:00 |
|
Eric Scharff
|
c9332e4615
|
Mac unsigned argument is different than other platforms
|
2007-09-19 10:26:08 -06:00 |
|
Eric Scharff
|
f430f3f00e
|
Various fixes (mostly making things more strict) to get the code to
compile on Mac OS X
|
2007-09-19 10:22:19 -06:00 |
|
Joel Dice
|
8b17df5b48
|
set verbose constants to false in heap.cpp
|
2007-09-19 08:33:43 -06:00 |
|
Joel Dice
|
cd990969cd
|
fix allocation of large objects in allocate2(); remove references to jscheme and SWT in makefile and test directory
|
2007-09-19 08:16:49 -06:00 |
|
Joel Dice
|
49a3c08cc9
|
use dlopen()/dlsym() to resolve builtin JNI methods
|
2007-09-18 17:30:09 -06:00 |
|
Joel Dice
|
b0bb443fa2
|
fix i2l to preserve signedness
|
2007-09-17 16:16:17 -06:00 |
|
Joel Dice
|
1f6c2dbbb1
|
implement Set<Primitive>ArrayRegion()
|
2007-09-17 16:15:42 -06:00 |
|
Joel Dice
|
8af76b0da6
|
fix several bugs in Finder involving jar file parsing and extraction
|
2007-09-17 08:11:41 -06:00 |
|
Joel Dice
|
dc9ae3d269
|
fix interpretation of stat() return value in System::identify()
|
2007-09-17 07:16:55 -06:00 |
|
Joel Dice
|
59d26362fa
|
mark zlib return values as UNUSED to fix fast build
|
2007-09-17 07:16:00 -06:00 |
|
Joel Dice
|
b88438d2fd
|
sketch of JAR support in Finder
|
2007-09-16 18:13:36 -06:00 |
|
Joel Dice
|
aec0c29084
|
fix math bug in parseFieldTable which lead to incorrect objectMasks
|
2007-09-15 11:22:22 -06:00 |
|
Joel Dice
|
912617c4ff
|
gc safety bugfixes
|
2007-09-14 18:32:32 -06:00 |
|
Joel Dice
|
223e6bff0f
|
gc protection bugfix
|
2007-09-14 18:23:32 -06:00 |
|
Joel Dice
|
e76e4ccdf0
|
protect local object variable in multianewarray
|
2007-09-14 17:05:06 -06:00 |
|
Joel Dice
|
4ade402f1b
|
bugfixes; SWT ControlExample works on x86_32
|
2007-09-14 14:35:37 -06:00 |
|
Joel Dice
|
bb520e4ef9
|
bugfixes
|
2007-09-13 21:59:39 -06:00 |
|
Joel Dice
|
ce97b6eecb
|
implement i2d and i2f
|
2007-09-13 19:42:12 -06:00 |
|
Joel Dice
|
b0926e71fb
|
fix math errors when walking object map in collect()::Client::walk()
|
2007-09-13 16:45:09 -06:00 |
|
Joel Dice
|
dc34707f98
|
fix Call*Method() calls to wrong run() function
|
2007-09-13 10:43:33 -06:00 |
|
Joel Dice
|
542888a1d3
|
bugfixes
|
2007-09-12 21:15:16 -06:00 |
|
Joel Dice
|
7cb3a30a91
|
sketch of Runtime.exec() and Calendar; misc bugfixes
|
2007-09-12 18:21:37 -06:00 |
|
Joel Dice
|
cb03240c64
|
quick sketches of various SWT 3.3 dependencies
|
2007-09-11 19:13:05 -06:00 |
|
Joel Dice
|
132936ba2e
|
fix backwards logic in System::Local assertions
|
2007-09-10 20:13:55 -06:00 |
|
Joel Dice
|
e5987f2a22
|
JNIEnv and JavaVM method implementations
|
2007-09-10 17:33:58 -06:00 |
|
Joel Dice
|
a9f9755221
|
more JNIEnvVTable entries
|
2007-09-07 17:20:21 -06:00 |
|
Joel Dice
|
bd4d9fdeb2
|
several things: change object typedef to Object* instead of void* to improve type safety; add JNICALL attributes to JNI functions; implement additional JavaVM methods
|
2007-09-06 18:21:52 -06:00 |
|
Joel Dice
|
f72f95d7ca
|
check for exceptions in invoke()
|
2007-08-28 17:38:47 -06:00 |
|
Joel Dice
|
b8de552797
|
re-implement System.getProperty to separate vm-specific properties from others
|
2007-08-27 07:46:17 -06:00 |
|
Joel Dice
|
009a743aa8
|
box primitive return values in invoke()
|
2007-08-23 18:22:28 -06:00 |
|
Joel Dice
|
256bcf04e0
|
fix Method.invoke() to handle polymorphism properly
|
2007-08-22 21:30:37 -06:00 |
|
Joel Dice
|
c6e1644281
|
fix bug in calculating GC footprint in new heap pool code
|
2007-08-22 20:24:25 -06:00 |
|
Joel Dice
|
00c611fcf9
|
Merge branch 'master' of dice:git/vm
|
2007-08-22 08:50:34 -06:00 |
|
Joel Dice
|
f148fd0668
|
add Machine::heapPool, allowing threads to acquire replacement heaps up to a point before forcing a GC
|
2007-08-22 08:50:29 -06:00 |
|
Joel Dice
|
a1caf06955
|
properly handle classes with no interface table in isAssignableFrom()
|
2007-08-21 22:03:03 -06:00 |
|
Joel Dice
|
57d57ff7bf
|
use identity hash code in Object.toString()
|
2007-08-21 22:02:17 -06:00 |
|
Joel Dice
|
af6f2bbc46
|
always call bitsetHasMore() from bitsetNext(), regardless of whether assertions are enabled
|
2007-08-20 20:30:22 -06:00 |
|
Joel Dice
|
27c8511c5e
|
bugfixes
|
2007-08-20 18:24:54 -06:00 |
|