< prev index next >
test/runtime/NMT/JcmdSummaryDiff.java
Print this page
*** 23,41 ****
/*
* @test
* @summary run NMT baseline, allocate memory and verify output from summary.diff
* @key nmt jcmd
! * @library /testlibrary /test/lib
* @modules java.base/jdk.internal.misc
* java.management
! * @build JcmdSummaryDiff
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary JcmdSummaryDiff
*/
! import jdk.test.lib.*;
import sun.hotspot.WhiteBox;
public class JcmdSummaryDiff {
--- 23,43 ----
/*
* @test
* @summary run NMT baseline, allocate memory and verify output from summary.diff
* @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=summary JcmdSummaryDiff
*/
! import jdk.test.lib.process.ProcessTools;
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.JDKToolFinder;
import sun.hotspot.WhiteBox;
public class JcmdSummaryDiff {
< prev index next >