< prev index next >
test/runtime/NMT/VirtualAllocTestType.java
Print this page
@@ -23,20 +23,22 @@
/*
* @test
* @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly
* @key nmt jcmd
- * @library /testlibrary /test/lib
+ * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
- * @build VirtualAllocTestType
+ * @build sun.hotspot.WhiteBox
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocTestType
*/
-import jdk.test.lib.*;
+import jdk.test.lib.process.ProcessTools;
+import jdk.test.lib.process.OutputAnalyzer;
+import jdk.test.lib.JDKToolFinder;
import sun.hotspot.WhiteBox;
public class VirtualAllocTestType {
public static WhiteBox wb = WhiteBox.getWhiteBox();
< prev index next >