< prev index next >
test/runtime/NMT/SummaryAfterShutdown.java
Print this page
*** 23,39 ****
/*
* @test
* @key nmt jcmd
* @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown
! * @library /testlibrary
* @modules java.base/jdk.internal.misc
* java.management
* @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown
*/
! import jdk.test.lib.*;
public class SummaryAfterShutdown {
public static void main(String args[]) throws Exception {
OutputAnalyzer output;
--- 23,41 ----
/*
* @test
* @key nmt jcmd
* @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown
! * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
* @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown
*/
! import jdk.test.lib.process.ProcessTools;
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.JDKToolFinder;
public class SummaryAfterShutdown {
public static void main(String args[]) throws Exception {
OutputAnalyzer output;
< prev index next >