< prev index next >

test/runtime/Unsafe/AllocateMemory.java

Print this page

        

*** 23,39 **** /* * @test * @requires vm.compMode != "Xcomp" * @summary Verifies behaviour of Unsafe.allocateMemory ! * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:MallocMaxTestWords=100m AllocateMemory */ ! import jdk.test.lib.*; import jdk.internal.misc.Unsafe; import static jdk.test.lib.Asserts.*; public class AllocateMemory { public static void main(String args[]) throws Exception { --- 23,39 ---- /* * @test * @requires vm.compMode != "Xcomp" * @summary Verifies behaviour of Unsafe.allocateMemory ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:MallocMaxTestWords=100m AllocateMemory */ ! import jdk.test.lib.Utils; import jdk.internal.misc.Unsafe; import static jdk.test.lib.Asserts.*; public class AllocateMemory { public static void main(String args[]) throws Exception {
< prev index next >