< prev index next >
test/runtime/memory/ReadVMPageSize.java
Print this page
*** 23,39 ****
/*
* @test
* @summary Using WhiteBox to get VM page size
* @modules java.base/jdk.internal.misc
! * @library /testlibrary /test/lib
! * @build ReadVMPageSize
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ReadVMPageSize
*/
- import jdk.test.lib.*;
import sun.hotspot.WhiteBox;
public class ReadVMPageSize {
public static void main(String args[]) throws Exception {
WhiteBox wb = WhiteBox.getWhiteBox();
--- 23,38 ----
/*
* @test
* @summary Using WhiteBox to get VM page size
* @modules java.base/jdk.internal.misc
! * @library /test/lib
! * @build sun.hotspot.WhiteBox
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ReadVMPageSize
*/
import sun.hotspot.WhiteBox;
public class ReadVMPageSize {
public static void main(String args[]) throws Exception {
WhiteBox wb = WhiteBox.getWhiteBox();
< prev index next >