test/runtime/memory/ReadVMPageSize.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/runtime/memory/ReadVMPageSize.java Tue Dec 9 15:13:24 2014
--- new/test/runtime/memory/ReadVMPageSize.java Tue Dec 9 15:13:24 2014
*** 22,39 ****
--- 22,39 ----
*/
/*
* @test
* @summary Using WhiteBox to get VM page size
! * @library /testlibrary /testlibrary/whitebox
! * @library /testlibrary /../../test/lib
* @build ReadVMPageSize
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI ReadVMPageSize
*/
import com.oracle.java.testlibrary.*;
! import sun.hotspot.WhiteBox;
! 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