6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp

Reviewed-by: dholmes, mchung
This commit is contained in:
Christian Thalinger 2012-10-22 14:22:30 -07:00
parent 5e1584a438
commit c915e9da09

View File

@ -105,6 +105,7 @@ public class Basic {
System.err.println("GC " + i);
Thread.sleep(10);
System.gc();
System.runFinalization();
showReferences();
while ((r = q2.poll()) != null) {