test/runtime/NMT/ChangeTrackingLevel.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/test/runtime/NMT/ChangeTrackingLevel.java	Tue Dec  9 15:13:22 2014
--- new/test/runtime/NMT/ChangeTrackingLevel.java	Tue Dec  9 15:13:22 2014

*** 24,42 **** --- 24,42 ---- /* * @test * @bug 8059100 * @summary Test that you can decrease NMT tracking level but not increase it. * @key nmt ! * @library /testlibrary /testlibrary/whitebox ! * @library /testlibrary /../../test/lib * @build ChangeTrackingLevel ! * @run main ClassFileInstaller sun.hotspot.WhiteBox ! * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main ClassFileInstaller jdk.testlib.WhiteBox ! * jdk.testlib.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ChangeTrackingLevel */ import com.oracle.java.testlibrary.*; ! import sun.hotspot.WhiteBox; ! import jdk.testlib.WhiteBox; public class ChangeTrackingLevel { public static WhiteBox wb = WhiteBox.getWhiteBox(); public static void main(String args[]) throws Exception {

test/runtime/NMT/ChangeTrackingLevel.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File