--- a/hotspot/test/compiler/rtm/locking/TestRTMLockingThreshold.java Tue Sep 13 21:29:30 2016 +0000
+++ b/hotspot/test/compiler/rtm/locking/TestRTMLockingThreshold.java Wed Sep 14 08:17:50 2016 -0400
@@ -49,7 +49,6 @@
import jdk.internal.misc.Unsafe;
import jdk.test.lib.Asserts;
import jdk.test.lib.process.OutputAnalyzer;
-import jdk.test.lib.unsafe.UnsafeHelper;
import jdk.test.lib.cli.CommandLineOptionTest;
import jdk.test.lib.cli.predicate.AndPredicate;
@@ -142,7 +141,7 @@
@SuppressWarnings("UnsuedDeclaration")
private static int field = 0;
private static final int TOTAL_ITERATIONS = 10000;
- private static final Unsafe UNSAFE = UnsafeHelper.getUnsafe();
+ private static final Unsafe UNSAFE = Unsafe.getUnsafe();
private final Object monitor = new Object();