< prev index next >
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 /test/lib
* @modules java.base/jdk.internal.misc
* java.management
! * @build MallocRoundingReportTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest
*
*/
! import jdk.test.lib.*;
import sun.hotspot.WhiteBox;
public class MallocRoundingReportTest {
private static long K = 1024;
--- 23,44 ----
/*
* @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 /test/lib
* @modules java.base/jdk.internal.misc
* java.management
! * @build sun.hotspot.WhiteBox
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest
*
*/
! import jdk.test.lib.process.ProcessTools;
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.JDKToolFinder;
import sun.hotspot.WhiteBox;
public class MallocRoundingReportTest {
private static long K = 1024;
< prev index next >