test/runtime/memory/ReadVMPageSize.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff test/runtime/memory/ReadVMPageSize.java

test/runtime/memory/ReadVMPageSize.java

Print this page

        

*** 22,39 **** */ /* * @test * @summary Using WhiteBox to get VM page size ! * @library /testlibrary /testlibrary/whitebox * @build ReadVMPageSize ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ReadVMPageSize */ import com.oracle.java.testlibrary.*; ! import sun.hotspot.WhiteBox; public class ReadVMPageSize { public static void main(String args[]) throws Exception { WhiteBox wb = WhiteBox.getWhiteBox(); int pageSize = wb.getVMPageSize(); --- 22,39 ---- */ /* * @test * @summary Using WhiteBox to get VM page size ! * @library /testlibrary /../../test/lib * @build ReadVMPageSize ! * @run main ClassFileInstaller jdk.testlib.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ReadVMPageSize */ import com.oracle.java.testlibrary.*; ! import jdk.testlib.WhiteBox; public class ReadVMPageSize { public static void main(String args[]) throws Exception { WhiteBox wb = WhiteBox.getWhiteBox(); int pageSize = wb.getVMPageSize();
test/runtime/memory/ReadVMPageSize.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File