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

Reply via email to