corda/test
Joel Dice 663d8da975 fix stack mapping bug for try blocks containing jsr/ret instructions
In order to calculate the initial stack map of GC roots for an
exception handler, we do a logical "and" of maps across all the
instructions contained in the try block for that handler.  This is
complicated by the presence of jsr/ret instructions, though, because
instructions in a subroutine may have multiple maps associated with
them corresponding to all the paths from which execution might flow to
them.

The bug in this case was that we were using an uninitialized map in
our calculation, resulting in a map with no GC roots at all.  By the
time the map was initialized, the damage had already been done.  The
solution is to treat an uninitialized map as if it has roots at all
positions so that it has no effect on the calculation until it has
been initialized with real data.
2012-12-12 15:54:15 -07:00
..
avian/testing/annotations Fixing some issues with runtime annotations within avian. 2012-05-22 14:02:51 -06:00
extra add tail call test 2011-03-15 17:51:32 -06:00
AllFloats.java refactor code responsible for moving data in the compiler 2009-11-27 21:15:12 -07:00
Annotations.java Fixing some issues with runtime annotations within avian. 2012-05-22 14:02:51 -06:00
Arrays.java tests don't compile when building with OpenJDK 2012-08-04 07:29:39 -06:00
BitsetTest.java Fixed issue where BitSet didn't handle a range of 64 bits correctly on bulk operations - now just return the predefined MASK which has all the bits set when requesting that all the bits be set. 2012-07-06 23:33:05 -06:00
Buffers.java add Buffers test 2012-08-11 08:01:44 -06:00
Datagrams.java implement DatagramChannel.receive and fix Datagrams to be Java 6 compatible 2012-07-10 14:09:14 -06:00
DefineClass.java uncomment testStatic call in DefineClass 2011-03-15 17:33:09 -06:00
DivideByZero.java throw ArithmeticException on divide-by-zero 2010-12-19 17:47:21 -07:00
Enums.java Implemented proper enum toString() behavior and an enum test. it should 2007-09-26 12:59:18 -06:00
EnumSetTest.java Adding EnumSet, which is backed by a speedy BitSet. 2012-07-02 14:28:51 -06:00
Exceptions.java implement primitive testing framework and provide for GC stress testing 2007-07-15 19:03:02 -06:00
FileOutput.java close FileInputStream before deleting file in FileOutput test 2011-01-17 10:33:43 -07:00
Files.java fix bugs in File.getParent and listFiles 2012-07-31 09:27:18 -06:00
Finalizers.java run java finalizers in a separate thread to guarantee no application locks are held when doing so 2009-08-24 17:51:31 -06:00
Floats.java fix float to integer conversion 2012-08-12 14:31:58 -06:00
GC.java fix custom-classloader-related concurrency problems and other bugs 2010-09-16 20:49:02 -06:00
Hello.java revert accidentally-committed change to Hello.java 2008-10-21 17:42:05 -06:00
Initializers.java fix ARM stack unwinding (part 2) 2011-02-20 13:49:40 -07:00
Integers.java fix 64-bit shifts on x86_32 2012-08-13 08:26:39 -06:00
jni.cpp fix Call[Static]<type>MethodA float argument marshalling 2012-10-05 10:56:07 -06:00
JNI.java fix Call[Static]<type>MethodA float argument marshalling 2012-10-05 10:56:07 -06:00
LazyLoading.java fix IllegalAccessException in LazyLoading test 2011-03-26 12:00:40 -06:00
List.java Fix an off-by-1 error in the remove method. 2012-07-06 14:03:56 -06:00
Logging.java fix Logging test for tails=true build 2011-08-05 18:04:38 -06:00
Longs.java fix 64-bit shifts on x86_32 (part 2) 2012-09-03 08:44:13 -06:00
Misc.java fix bug in isAssignableFrom such that primitive array types were considered to be subclasses of the Object array type 2012-02-27 18:16:01 -07:00
NullPointer.java add a couple of test cases to NullPointer.java 2011-02-01 08:40:56 -07:00
OutOfMemory.java rework VM exception handling; throw OOMEs when appropriate 2010-12-27 15:55:23 -07:00
Processes.java implement Process.destroy 2011-11-03 12:30:51 -06:00
Proxies.java support runtime-visible annotations and java.lang.reflect.Proxy 2009-09-18 18:01:54 -06:00
References.java fix handling of reachable, moved weak references in postVisit 2009-09-01 17:23:30 -06:00
Reflection.java wrap primitive return values using correct types in Method.invoke 2011-02-22 17:54:56 -07:00
Simple.java fix Exceptions test for amd64 2008-11-02 15:25:51 -07:00
StackOverflow.java make StackOverflow test useful in tails=true build 2011-01-25 17:13:59 -07:00
Strings.java handle basic argument substitution in MessageFormat.format 2012-08-11 08:58:40 -06:00
Subroutine.java fix stack mapping bug for try blocks containing jsr/ret instructions 2012-12-12 15:54:15 -07:00
Switch.java implement tableswitch and lookupswitch instructions plus run loop bugfixes and tweaks 2007-08-12 20:52:12 -06:00
test.sh enable use-frame-pointer=true build 2011-01-27 21:06:01 -07:00
Threads.java fix Thread.interrupt and Thread.interrupted 2011-07-12 14:15:43 -06:00
Trace.java use wait/notifyAll too avoid starvation in Trace test 2011-02-26 12:40:54 -07:00
Tree.java add TreeSet(Collection) constructor 2011-01-20 09:39:16 -07:00
UnsafeTest.java add test for sun.misc.Unsafe functionality 2012-03-13 08:28:33 -06:00
UrlTest.java include leading slash in path when parsing URLs in URLStreamHandler 2012-02-18 15:14:16 -07:00
Zip.java fix access violation introduced in last commit 2011-09-14 13:27:17 -06:00