Joel Dice
fd770fd884
sketch a few more classpath classes
2007-07-21 14:44:39 -06:00
Joel Dice
48226f988c
add a bunch of classes to classpath and flesh out a few existing ones
2007-07-21 11:50:26 -06:00
Joel Dice
b57e1eee76
allocate root thread on heap, not stack
2007-07-20 17:26:13 -06:00
Joel Dice
108f8d7bc0
fix i386 build error
2007-07-20 08:39:50 -06:00
Joel Dice
0f7a2137bf
factor system.cpp and class-finder.cpp out of main.cpp
2007-07-20 08:36:31 -06:00
Joel Dice
9f91f221dd
GC stress fix in make()
2007-07-19 21:29:34 -06:00
Joel Dice
de9213ce30
finish java/lang/ref/* support; add wrapper classes for primitives
2007-07-19 21:18:25 -06:00
Joel Dice
faf9b63798
more work on java/lang/ref/* support
2007-07-19 19:07:30 -06:00
Joel Dice
b213ec0ef8
sketch of java/lang/ref/*
2007-07-19 18:18:47 -06:00
Joel Dice
32dff71994
GC stress fixes
2007-07-19 17:45:44 -06:00
Joel Dice
c94e70060f
teach test.sh to run valgrind when in stress testing mode
2007-07-17 19:42:14 -06:00
Joel Dice
65c876b5f7
more GC stress fixes
2007-07-17 19:33:00 -06:00
Joel Dice
b848c09a34
more GC stress fixes
2007-07-17 07:22:29 -06:00
Joel Dice
e3e9981031
more GC stress fixes
2007-07-16 19:55:49 -06:00
Joel Dice
6bac351874
more GC stress fixes
2007-07-16 18:23:23 -06:00
Joel Dice
6dec1cbd42
fix various bugs uncovered in GC stress test
2007-07-16 17:58:37 -06:00
Joel Dice
7dab93de00
fix stack overflow in stress() due to StateResource destructor
2007-07-15 19:07:13 -06:00
Joel Dice
4670055b03
implement primitive testing framework and provide for GC stress testing
2007-07-15 19:03:02 -06:00
Joel Dice
3121002ffd
implement Throwable.resolveTrace(); bugfixes
2007-07-14 12:37:04 -06:00
Joel Dice
2df8a60a78
support object arrays of various element types and dimensions; clean up weak hash map support
2007-07-14 11:31:01 -06:00
Joel Dice
0099aa396b
make builtin class type a bootstrap version of java/lang/Class
2007-07-12 17:46:08 -06:00
Joel Dice
69eed6ba5a
fix method and field lookup to check superclasses
2007-07-11 18:06:57 -06:00
Joel Dice
9a2dbe6596
fix handling of newly-tenured finalizers and weak references in postVisit()
2007-07-11 07:35:28 -06:00
Joel Dice
01d858e1bc
more bugfixes, mainly monitor-related
2007-07-10 22:19:26 -06:00
Joel Dice
93748f2df9
heap o' bugfixes
2007-07-10 19:38:06 -06:00
Joel Dice
eba6a42700
replace Debug constant in machine.h with DebugMonitors
2007-07-10 17:34:53 -06:00
Joel Dice
950e1eb5cb
set stack index to the correct value when unwinding to an exception handler
2007-07-10 17:32:03 -06:00
Joel Dice
9d4c589ab1
fix typo in types.def
2007-07-10 17:31:13 -06:00
Joel Dice
3bffa44824
fix ordering bug in postVisit() and remove debug logging
2007-07-10 08:21:22 -06:00
Joel Dice
4decde57e6
more weak reference work, plus debug logging
2007-07-09 21:04:49 -06:00
Joel Dice
b70e4b368f
sketch of finalizer/weak reference overhaul; type generator bugfixes involving array member layout
2007-07-09 19:43:43 -06:00
Joel Dice
a77693fb29
snapshot; known bug: finalizers and weak references don't work correctly wrt tenured objects
2007-07-07 19:06:32 -06:00
Joel Dice
f71c77298c
bugfixes
2007-07-07 17:47:35 -06:00
Joel Dice
e5bea7a455
progress on thread support
2007-07-07 12:09:16 -06:00
Joel Dice
3bd267b47a
more refactoring
2007-07-06 17:50:26 -06:00
Joel Dice
96000a7c67
a bit more refactoring
2007-07-06 17:18:40 -06:00
Joel Dice
427dbedd0f
factor a lot of code out of vm.cpp, since it was becoming unwieldy
2007-07-06 09:24:06 -06:00
Joel Dice
6678d31d5c
fix stack overflow calculation
2007-07-05 19:10:23 -06:00
Joel Dice
dc8232eddf
store frame data on the stack, not the heap
2007-07-05 19:06:06 -06:00
Joel Dice
56467e61d7
exception handler selection bugfixes
2007-07-04 20:44:01 -06:00
Joel Dice
d2ef4dabc4
interface-related bugfixes
2007-07-04 20:25:25 -06:00
Joel Dice
c3320c2c97
flesh out classpath enough to test threading; fix indexing bug in parsePool()
2007-07-04 16:27:08 -06:00
Joel Dice
1182ea9540
Revert "fix ordering of weak reference and finalization processing"
...
This reverts commit 0a32a7b7af
.
Actually, I had it right the first time, somewhat by accident.
2007-07-04 12:43:42 -06:00
Joel Dice
0a32a7b7af
fix ordering of weak reference and finalization processing
2007-07-04 12:40:31 -06:00
Joel Dice
da844719ab
fix off-by-one thinko in GetStringUTFChars; call dlclose() in ~Library()
2007-07-04 12:15:03 -06:00
Joel Dice
25a7aae0f8
lots of bugfixes
2007-07-04 11:58:27 -06:00
Joel Dice
cabc069b16
weak reference support
2007-07-04 09:56:55 -06:00
Joel Dice
da1e12b589
fix stack overflow calculation
2007-07-03 22:13:52 -06:00
Joel Dice
9039daa375
convert thread stack to a more efficient representation
...
The stack is now represented as alternating type tags and values instead
of object references. This removes the need to store stack primitives
on the heap.
2007-07-03 20:56:02 -06:00
Joel Dice
acd254544c
zero locals when invoking method
2007-07-03 09:38:35 -06:00