hotspot/test/compiler/rtm/locking/TestRTMAbortRatio.java
changeset 40855 3c4c913195e3
parent 40631 ed82623d7831
child 41092 c388d897472d
child 41321 463ff7705f2f
--- a/hotspot/test/compiler/rtm/locking/TestRTMAbortRatio.java	Thu Aug 25 14:12:09 2016 +0400
+++ b/hotspot/test/compiler/rtm/locking/TestRTMAbortRatio.java	Thu Aug 25 08:40:53 2016 -0400
@@ -49,7 +49,7 @@
 import jdk.internal.misc.Unsafe;
 import jdk.test.lib.Asserts;
 import jdk.test.lib.process.OutputAnalyzer;
-import jdk.test.lib.Utils;
+import jdk.test.lib.unsafe.UnsafeHelper;
 import jdk.test.lib.cli.CommandLineOptionTest;
 import jdk.test.lib.cli.predicate.AndPredicate;
 
@@ -125,7 +125,7 @@
     public static class Test implements CompilableTest {
         private static final int TOTAL_ITERATIONS = 10000;
         private static final int WARMUP_ITERATIONS = 1000;
-        private static final Unsafe UNSAFE = Utils.getUnsafe();
+        private static final Unsafe UNSAFE = UnsafeHelper.getUnsafe();
         private final Object monitor = new Object();
         // Following field have to be static in order to avoid escape analysis.
         @SuppressWarnings("UnsuedDeclaration")