RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp (original) (raw)
Christian Thalinger christian.thalinger at oracle.com
Thu Oct 18 21:43:09 UTC 2012
- Previous message: bug fix for native kerberos libraries
- Next message: RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://cr.openjdk.java.net/~twisti/6771058
6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp Reviewed-by:
This test can fail if finalizer of Basic is not called for some reason. It happens in compiled mode if compilation is more slow than execution of the main loop.
The fix is to call System.runFinalization() after System.gc() to ensure that finalizer is run.
test/java/lang/ref/Basic.java
- Previous message: bug fix for native kerberos libraries
- Next message: RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]