changeset 6503:2048ce5a12ff

6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp Reviewed-by: dholmes, mchung
author twisti
date Mon, 22 Oct 2012 14:22:30 -0700
parents e19dc885da0d
children a1e77f7ed52b
files test/java/lang/ref/Basic.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/ref/Basic.java	Mon Oct 22 17:01:35 2012 +0800
+++ b/test/java/lang/ref/Basic.java	Mon Oct 22 14:22:30 2012 -0700
@@ -105,6 +105,7 @@
             System.err.println("GC " + i);
             Thread.sleep(10);
             System.gc();
+            System.runFinalization();
 
             showReferences();
             while ((r = q2.poll()) != null) {