comparison test/runtime/NMT/AllocTestType.java @ 8098:1b0dc9f87e75

8006753: fix failed for JDK-8002415 White box testing API for HotSpot Summary: Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
author mgerdin
date Tue, 19 Feb 2013 18:45:49 +0100
parents 879c6de913d6
children
comparison
equal deleted inserted replaced
8069:1048edb5434a 8098:1b0dc9f87e75
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd 26 * @summary Test consistency of NMT by leaking a few select allocations of the Test type and then verify visibility with jcmd
27 * @key nmt jcmd 27 * @key nmt jcmd
28 * @library /testlibrary 28 * @library /testlibrary /testlibrary/whitebox
29 * @run compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI AllocTestType.java 29 * @build AllocTestType
30 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail AllocTestType 30 * @run main ClassFileInstaller sun.hotspot.WhiteBox
31 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail AllocTestType
31 */ 32 */
32 33
33 import com.oracle.java.testlibrary.*; 34 import com.oracle.java.testlibrary.*;
34 import sun.hotspot.WhiteBox; 35 import sun.hotspot.WhiteBox;
35 36