Joel Dice
d3a249a3fa
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2009-07-25 18:36:27 -06:00
Joel Dice
d327f6ba5a
implement java.util.TreeMap
2009-07-25 15:41:43 -06:00
Joel Dice
08e9a99cb5
don't abort if pthread_kill fails in MySystem::visit
2009-07-24 19:03:33 -06:00
Joel Dice
29858a5299
implement Selector.selectNow() and select()
2009-07-23 13:08:41 -06:00
Joel Dice
77f1bddce2
Revert "add avian.commit system property"
...
This reverts commit ed5be83467
.
2009-07-22 10:45:38 -06:00
Joel Dice
ed5be83467
add avian.commit system property
2009-07-22 10:38:32 -06:00
Joel Dice
afdab27e02
backport GC safety fixes from gnu branch
2009-07-20 14:32:25 -06:00
Joel Dice
8662361f71
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2009-07-20 08:27:17 -06:00
Joel Dice
47ab980550
fix thread heap overflow corner case in allocate3
...
The previous code relied on the invalid assumption that the thread-local
heaps for all threads would have been cleared immediately following a
garbage collection. However, the last thing the garbage collection
function does is run finalizers which may allocate new objects. This
can lead allocate3 to call allocateSmall with a size which is too large
to accomodate, overflowing the heap.
The solution is to iterate until there really is enough room for the
original allocation request.
2009-07-17 19:37:46 -06:00
Joel Dice
3e4336eba4
rearrange finalization code in collect to avoid inifinite recursion when finalizer allocates memory
2009-07-17 09:29:24 -06:00
Joel Dice
9c9eb86b2f
fix deadlock in allocate3 when another thread wants to enter the exclusive state
2009-07-16 11:51:35 -06:00
Joel Dice
ab5ba9c954
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2009-07-10 09:57:29 -06:00
Joel Dice
30c7107aa3
enable DebugAllocation in heap.cpp when NDEBUG is not defined
2009-07-10 08:42:56 -06:00
Joel Dice
22852dcffa
fix GC safety bug when walking stack
2009-07-10 08:33:38 -06:00
jent
8335dc4297
Now using the CoreServices instead of the Carbon framework....this
...
allows for cocoa and future compatability
2009-07-02 03:30:05 -06:00
jent
8c3d65a835
Hopefully including the top carbon header will fix the issues we had
...
when we tried to include just Gestalt.h
2009-07-02 03:13:39 -06:00
jent
2639d94ebc
Commented out changes to avian till I can figure out why I can compile
...
using the deploy script, but no one else can
2009-07-02 02:24:25 -06:00
jent
3367ac88e3
Added in code to support os.version for Windows/Linux/OSX
...
The make file had to be modified to include the carbon framework in OSX
2009-07-01 09:13:01 -06:00
Eric Scharff
f4347dee70
Implement dummy JNI GetVersion
2009-06-22 16:25:13 -06:00
Eric Scharff
c3c06e4e0e
Fix mac build
...
Remove a compiler error by removing an unnecessary method
2009-06-19 13:43:57 -06:00
Joel Dice
7ed14948b9
re-initialize frame maps for exception handlers on every iteration of the frame map calculation loop
...
This fixes incorrect frame map calcuation which may lead to crashes
during garbage collection from an exception handler.
2009-06-16 13:41:31 -06:00
Joel Dice
a21f951e29
consider an instruction reachable if it has no predecessors (i.e. it's the first instruction
2009-06-12 09:45:29 -06:00
Joel Dice
31976f585a
add DebugAllocation option to heap.cpp to help detect allocation and deallocation errors
2009-06-11 17:23:02 -06:00
Joel Dice
e1c7504eda
attempt to flush the compile log (if any) before crashing in SegFaultHandler::handle
2009-06-11 17:14:54 -06:00
Joel Dice
525318dabb
fix GC safety bug in builtin.cpp
2009-06-11 17:13:25 -06:00
Joel Dice
1d58541c87
generate full memory dump on unhandled exception in windows.cpp
2009-06-11 13:41:13 -06:00
Joel Dice
0857f53651
more progress on GNU Classpath compatibility
2009-06-04 17:21:42 -06:00
Joel Dice
4a87d82d8e
fix GC safety bug in MyProcessor::initVtable
2009-06-04 17:20:55 -06:00
Joel Dice
db09adc0d4
allow copies between object arrays of different types in System.arraycopy
2009-06-04 17:19:48 -06:00
Joel Dice
98be5c509e
more progress towards GNU Classpath compatibility
2009-06-03 16:17:55 -06:00
Joel Dice
0f6dbe35a7
add build option for using GNU Classpath
2009-06-02 18:55:49 -06:00
Joel Dice
ba5105c374
throw NoSuchMethodError in resolveMethod if method not found
2009-06-02 18:55:12 -06:00
Joel Dice
0615b8a09f
add classes and methods needed for GNU Classpath compatibility
...
Most of these methods are stubs which throw
UnsupportedOperationExceptions for now.
2009-06-02 17:14:38 -06:00
Joel Dice
70bd2d908f
update readme.txt to reflect new bootimage-generator parameter
2009-06-01 12:51:20 -06:00
Joel Dice
a4d4db8eb4
fix cygwin/msys bootimage build
2009-06-01 12:12:29 -06:00
Joel Dice
2d2940b13e
add continuation classes and methods to vm.pro
2009-05-31 23:02:50 -06:00
Joel Dice
d4e977db28
update vm.pro to reflect new SystemClassLoader location
2009-05-31 22:48:38 -06:00
Joel Dice
11e61543a3
fix bootimage build
2009-05-31 21:16:58 -06:00
Joel Dice
0debcf0f16
document "tails" and "continuations" options in readme.txt
2009-05-31 18:31:15 -06:00
Joel Dice
049f96bd1c
Merge branch 'master' into fun
2009-05-31 17:25:34 -06:00
Joel Dice
c434f211e2
fix return type for Avian_java_lang_Object_hashCode
2009-05-31 17:19:18 -06:00
Joel Dice
ace985b390
fix native method lookup for fast calling convention on Windows
2009-05-31 14:41:07 -06:00
Joel Dice
01f302d4b5
give avian/Continuations a private constructor; documentation tweaks
2009-05-31 14:16:51 -06:00
Joel Dice
9d6a3021ca
make Hashtable.toString synchronized
2009-05-31 14:16:08 -06:00
Joel Dice
b1d92fc6c2
fix compilation of synchronized methods which return values
2009-05-31 14:15:45 -06:00
Joel Dice
f1ff0d75bf
avian.Continuations documentation tweaks
2009-05-29 19:09:32 -06:00
Joel Dice
b5cb1692fb
document avian.Continuations
2009-05-29 18:32:16 -06:00
Joel Dice
02fba10614
set DebugCompile to false
2009-05-28 19:56:15 -06:00
Joel Dice
f30e31e5f6
compile-x86.S bugfixes and cleanups
2009-05-28 19:54:32 -06:00
Joel Dice
14613193fa
include return address size in frameSize passed to vmInvoke; fix printf warnings
2009-05-28 19:50:44 -06:00