< prev index next >

test/runtime/NMT/VirtualAllocTestType.java

Print this page

        

*** 23,42 **** /* * @test * @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly * @key nmt jcmd ! * @library /testlibrary /test/lib * @modules java.base/jdk.internal.misc * java.management ! * @build VirtualAllocTestType * @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 sun.hotspot.WhiteBox; public class VirtualAllocTestType { public static WhiteBox wb = WhiteBox.getWhiteBox(); --- 23,44 ---- /* * @test * @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly * @key nmt jcmd ! * @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:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocTestType */ ! 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 >