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

test/runtime/NMT/MallocTrackingVerify.java

Print this page

        

*** 24,46 **** /* * @test * @bug 8054836 * @summary Test to verify correctness of malloc tracking * @key nmt jcmd ! * @library /testlibrary /testlibrary/whitebox * @build MallocTrackingVerify ! * @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTrackingVerify * */ import java.util.ArrayList; import java.util.Random; import com.oracle.java.testlibrary.*; ! import sun.hotspot.WhiteBox; public class MallocTrackingVerify { private static int MAX_ALLOC = 4 * 1024; static ArrayList<MallocMemory> mallocd_memory = new ArrayList<MallocMemory>(); --- 24,46 ---- /* * @test * @bug 8054836 * @summary Test to verify correctness of malloc tracking * @key nmt jcmd ! * @library /testlibrary /../../test/lib * @build MallocTrackingVerify ! * @run main ClassFileInstaller jdk.testlib.WhiteBox * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTrackingVerify * */ import java.util.ArrayList; import java.util.Random; import com.oracle.java.testlibrary.*; ! import jdk.testlib.WhiteBox; public class MallocTrackingVerify { private static int MAX_ALLOC = 4 * 1024; static ArrayList<MallocMemory> mallocd_memory = new ArrayList<MallocMemory>();
test/runtime/NMT/MallocTrackingVerify.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File