comparison test/runtime/NMT/SummarySanityCheck.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 ac12996df59b
comparison
equal deleted inserted replaced
8069:1048edb5434a 8098:1b0dc9f87e75
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @key nmt jcmd 26 * @key nmt jcmd
27 * @summary Sanity check the output of NMT 27 * @summary Sanity check the output of NMT
28 * @library /testlibrary 28 * @library /testlibrary /testlibrary/whitebox
29 * @run compile -J-XX:+UnlockDiagnosticVMOptions -J-XX:+WhiteBoxAPI SummarySanityCheck.java 29 * @build SummarySanityCheck
30 * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck 30 * @run main ClassFileInstaller sun.hotspot.WhiteBox
31 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck
31 */ 32 */
32 33
33 import com.oracle.java.testlibrary.*; 34 import com.oracle.java.testlibrary.*;
34 35
35 import java.util.regex.Matcher; 36 import java.util.regex.Matcher;