--- a/hotspot/test/runtime/Unsafe/AllocateMemory.java Tue Sep 13 21:29:30 2016 +0000
+++ b/hotspot/test/runtime/Unsafe/AllocateMemory.java Wed Sep 14 08:17:50 2016 -0400
@@ -31,13 +31,12 @@
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:MallocMaxTestWords=100m AllocateMemory
*/
-import jdk.test.lib.unsafe.UnsafeHelper;
import jdk.internal.misc.Unsafe;
import static jdk.test.lib.Asserts.*;
public class AllocateMemory {
public static void main(String args[]) throws Exception {
- Unsafe unsafe = UnsafeHelper.getUnsafe();
+ Unsafe unsafe = Unsafe.getUnsafe();
// Allocate a byte, write to the location and read back the value
long address = unsafe.allocateMemory(1);