Commit Graph

1491 Commits

Author SHA1 Message Date
da844719ab fix off-by-one thinko in GetStringUTFChars; call dlclose() in ~Library() 2007-07-04 12:15:03 -06:00
25a7aae0f8 lots of bugfixes 2007-07-04 11:58:27 -06:00
cabc069b16 weak reference support 2007-07-04 09:56:55 -06:00
da1e12b589 fix stack overflow calculation 2007-07-03 22:13:52 -06:00
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
acd254544c zero locals when invoking method 2007-07-03 09:38:35 -06:00
32b5d070fb simplify monitor lookup; add finalization 2007-07-02 08:19:05 -06:00
8acb32e4cb store frame locals on stack and avoid need to copy parameters 2007-07-02 07:11:51 -06:00
db529925e2 simplify mappedMonitor() and eliminate System::ReadWriteLock 2007-07-01 22:03:44 -06:00
bb16d8e62b snapshot (broken) 2007-07-01 19:42:35 -06:00
f698d347ac eliminate conditional when calculating object size 2007-07-01 15:47:26 -06:00
38cea04322 progress towards thread support
This includes support for using the least significant bits of the class
pointer to indicate object state, which we'll use to indicate the
presence of a monitor pointer, among other things.
2007-07-01 15:34:22 -06:00
051e3bc7a8 respect string offset and length when printing exception message 2007-06-29 20:45:45 -06:00
b33f0c311d push method frame for native invocations (so we'll see them in stack traces) 2007-06-29 20:41:49 -06:00
4020f13fb0 update references to class in fields and methods in updateBootstrapClass() 2007-06-29 20:38:16 -06:00
b8e009075c stack trace work 2007-06-29 20:39:01 -06:00
c34ee64988 classloading bugfixes and stack trace work 2007-06-29 19:37:45 -06:00
e529d60a69 hello, world 2007-06-29 10:42:39 -06:00
2057e72956 more JNI work 2007-06-28 20:58:48 -06:00
f0bc4dbe76 various bugfixes 2007-06-24 20:20:35 -06:00
cd2c1a2836 JNI up the wazoo 2007-06-24 20:02:24 -06:00
400b3633d7 more JNI work 2007-06-24 19:34:07 -06:00
f606f2d30a more progress on JNI 2007-06-24 15:49:04 -06:00
ef806e73f0 progress on JNI and bootstrap class handling 2007-06-24 13:57:00 -06:00
9dc8b0529d snapshot 2007-06-23 19:39:49 -06:00
f68f455d59 prepare for native method support 2007-06-22 17:43:31 -06:00
137fdcb69e specify a more conservative initial capacity in initNextGen{1,2}() 2007-06-22 17:29:15 -06:00
39bbcc03eb refactor assertions so they can be disabled easily at compile time; fix a couple of method invocation bugs 2007-06-22 17:17:13 -06:00
5ee38e259a enable large object support; various GC bugfixes and tweaks 2007-06-22 16:47:57 -06:00
4d202e4945 fix iinc instruction to use set() instead of direct assignment; add Thread::HeapSizeInWords and Thread::StackSizeInWords 2007-06-22 15:31:45 -06:00
3a6da507ec various GC bugfixes 2007-06-22 14:55:11 -06:00
09f6a34510 snapshot 2007-06-21 21:16:42 -06:00
d5ce307a2a switch to a linked heap implementation 2007-06-21 20:13:17 -06:00
3238b34723 fix thinko in visitRoots() 2007-06-21 17:23:43 -06:00
c1d70499c2 add Debug and Verbose constants to heap.cpp 2007-06-21 16:51:55 -06:00
e794fdb57f fix jump calculation for various instructions 2007-06-21 16:50:52 -06:00
31e2da3e05 various GC bugfixes 2007-06-21 16:23:35 -06:00
8d0c5f4186 snapshot 2007-06-21 14:44:35 -06:00
1992482236 snapshot 2007-06-21 13:43:33 -06:00
29f9bb84ca snapshot 2007-06-21 12:35:24 -06:00
95c4bff51b lots of bugfixes 2007-06-20 19:38:02 -06:00
91b9dc7382 various bugfixes 2007-06-20 15:27:22 -06:00
4e07acb26c it builds! 2007-06-20 13:20:25 -06:00
d4d155c834 snapshot 2007-06-20 11:42:13 -06:00
1a05eb2739 snapshot 2007-06-20 10:58:35 -06:00
a6e79cc417 snapshot 2007-06-19 23:16:43 -06:00
459acc3419 snapshot 2007-06-19 22:26:36 -06:00
caac00e5ff start rough sketch of GC code in heap.cpp 2007-06-19 20:28:31 -06:00
36152603f4 provide bounds checking for array indexing; store bootstrap types in Machine::types 2007-06-18 15:13:21 -06:00
6756ade3bd update generated type code and fix most link errors 2007-06-18 13:23:44 -06:00