< prev index next >
test/compiler/c2/Test7190310.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -24,20 +24,24 @@
/*
* @test
* @bug 7190310
* @summary Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops
- * @run main/othervm/timeout=600 -Xbatch Test7190310
+ *
+ * @run main/othervm/timeout=600 -Xbatch compiler.c2.Test7190310
*/
/*
* Note bug exhibits as infinite loop, timeout is helpful.
* It should normally finish pretty quickly, but on some especially slow machines
* it may not. The companion _unsafe test lacks a timeout, but that is okay.
*/
+package compiler.c2;
-import java.lang.ref.*;
+import java.lang.ref.Reference;
+import java.lang.ref.ReferenceQueue;
+import java.lang.ref.WeakReference;
public class Test7190310 {
private static Object str = new Object() {
public String toString() {
return "The Object";
< prev index next >