test/runtime/NMT/MallocTrackingVerify.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/runtime/NMT/MallocTrackingVerify.java Tue Dec 9 15:13:24 2014
--- new/test/runtime/NMT/MallocTrackingVerify.java Tue Dec 9 15:13:24 2014
*** 24,46 ****
--- 24,46 ----
/*
* @test
* @bug 8054836
* @summary Test to verify correctness of malloc tracking
* @key nmt jcmd
! * @library /testlibrary /testlibrary/whitebox
! * @library /testlibrary /../../test/lib
* @build MallocTrackingVerify
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * @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 sun.hotspot.WhiteBox;
! 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