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

*** 23,41 **** --- 23,41 ---- /* * @test * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd * @key nmt jcmd ! * @library /testlibrary /testlibrary/whitebox ! * @library /testlibrary /../../test/lib * @build MallocTestType ! * @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 MallocTestType */ import com.oracle.java.testlibrary.*; ! import sun.hotspot.WhiteBox; ! import jdk.testlib.WhiteBox; public class MallocTestType { public static void main(String args[]) throws Exception { OutputAnalyzer output;

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