Mercurial > hg > truffle
changeset 8815:9c8e53c7bed0
Merge
author | ctornqvi |
---|---|
date | Sun, 24 Mar 2013 09:21:37 +0100 |
parents | c342fbdf8a70 (diff) 6574f999e0cf (current diff) |
children | 729be16a470b |
files | make/test/Queens.java |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test/runtime/NMT/PrintNMTStatistics.java Sat Mar 23 22:35:02 2013 -0700 +++ b/test/runtime/NMT/PrintNMTStatistics.java Sun Mar 24 09:21:37 2013 +0100 @@ -27,7 +27,9 @@ * @bug 8005936 * @summary Make sure PrintNMTStatistics works on normal JVM exit * @library /testlibrary /testlibrary/whitebox - * @run compile PrintNMTStatistics.java + * @build PrintNMTStatistics + * @run main ClassFileInstaller sun.hotspot.WhiteBox + * @run main PrintNMTStatistics */ import com.oracle.java.testlibrary.*; @@ -52,13 +54,15 @@ ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:+UnlockDiagnosticVMOptions", + "-Xbootclasspath/a:.", + "-XX:+WhiteBoxAPI", "-XX:NativeMemoryTracking=summary", - "+XX:+PrintNMTStatistics", + "-XX:+PrintNMTStatistics", "PrintNMTStatistics", "test"); OutputAnalyzer output = new OutputAnalyzer(pb.start()); - output.shouldContain("Java Heap (reserved="); + output.shouldContain("Java Heap (reserved="); output.shouldNotContain("error"); output.shouldNotContain("warning"); output.shouldHaveExitValue(0);