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