< prev index next >
test/runtime/NMT/CommitOverlappingRegions.java
Print this page
@@ -23,20 +23,22 @@
/*
* @test
* @summary Test commits of overlapping regions of memory.
* @key nmt jcmd
- * @library /testlibrary /test/lib
+ * @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management
- * @build CommitOverlappingRegions
+ * @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 CommitOverlappingRegions
*/
-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 CommitOverlappingRegions {
public static WhiteBox wb = WhiteBox.getWhiteBox();
public static void main(String args[]) throws Exception {
< prev index next >