< prev index next >
test/runtime/NMT/SummarySanityCheck.java
Print this page
*** 23,42 ****
/*
* @test
* @key nmt jcmd
* @summary Sanity check the output of NMT
! * @library /testlibrary /test/lib
* @modules java.base/jdk.internal.misc
* java.management
! * @build SummarySanityCheck
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck
*/
! import jdk.test.lib.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import sun.hotspot.WhiteBox;
--- 23,44 ----
/*
* @test
* @key nmt jcmd
* @summary Sanity check the output of NMT
! * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
! * @build sun.hotspot.WhiteBox
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck
*/
! import jdk.test.lib.process.ProcessTools;
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.JDKToolFinder;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import sun.hotspot.WhiteBox;
< prev index next >