test/runtime/NMT/MallocRoundingReportTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff test/runtime/NMT/MallocRoundingReportTest.java
test/runtime/NMT/MallocRoundingReportTest.java
Print this page
*** 23,42 ****
/*
* @test
* @summary Test consistency of NMT by creating allocations of the Test type with various sizes and verifying visibility with jcmd
* @key nmt jcmd
! * @library /testlibrary /testlibrary/whitebox
* @build MallocRoundingReportTest
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest
*
*/
import com.oracle.java.testlibrary.*;
! import sun.hotspot.WhiteBox;
public class MallocRoundingReportTest {
private static long K = 1024;
public static void main(String args[]) throws Exception {
--- 23,42 ----
/*
* @test
* @summary Test consistency of NMT by creating allocations of the Test type with various sizes and verifying visibility with jcmd
* @key nmt jcmd
! * @library /testlibrary /../../test/lib
* @build MallocRoundingReportTest
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest
*
*/
import com.oracle.java.testlibrary.*;
! import jdk.testlib.WhiteBox;
public class MallocRoundingReportTest {
private static long K = 1024;
public static void main(String args[]) throws Exception {
test/runtime/NMT/MallocRoundingReportTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File