8055052: [TESTBUG] runtime/NMT/JcmdDetailDiff.java fails on Windows when there are no debug symbols available

Fri, 22 Aug 2014 06:46:29 -0700

author
gtriantafill
date
Fri, 22 Aug 2014 06:46:29 -0700
changeset 7112
19fc73d027a6
parent 7111
acb20c734237
child 7113
3670c195cb8b

8055052: [TESTBUG] runtime/NMT/JcmdDetailDiff.java fails on Windows when there are no debug symbols available
Reviewed-by: ctornqvi, hseigel

test/runtime/NMT/JcmdDetailDiff.java file | annotate | diff | comparison | revisions
     1.1 --- a/test/runtime/NMT/JcmdDetailDiff.java	Tue Aug 19 06:47:28 2014 -0700
     1.2 +++ b/test/runtime/NMT/JcmdDetailDiff.java	Fri Aug 22 06:46:29 2014 -0700
     1.3 @@ -62,21 +62,18 @@
     1.4  
     1.5          output = new OutputAnalyzer(pb.start());
     1.6          output.shouldContain("Test (reserved=256KB +256KB, committed=0KB)");
     1.7 -        output.shouldContain("WB_NMTReserveMemory");
     1.8  
     1.9          wb.NMTCommitMemory(addr, commitSize);
    1.10          pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff", "scale=KB"});
    1.11  
    1.12          output = new OutputAnalyzer(pb.start());
    1.13          output.shouldContain("Test (reserved=256KB +256KB, committed=128KB +128KB)");
    1.14 -        output.shouldContain("WB_NMTReserveMemory");
    1.15  
    1.16          wb.NMTUncommitMemory(addr, commitSize);
    1.17          pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff", "scale=KB"});
    1.18  
    1.19          output = new OutputAnalyzer(pb.start());
    1.20          output.shouldContain("Test (reserved=256KB +256KB, committed=0KB)");
    1.21 -        output.shouldContain("WB_NMTReserveMemory");
    1.22  
    1.23          wb.NMTReleaseMemory(addr, reserveSize);
    1.24          pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "detail.diff", "scale=KB"});

mercurial