< prev index next >

test/hotspot/jtreg/serviceability/sa/JhsdbThreadInfoTest.java

Print this page

        

*** 54,67 **** ProcessBuilder pb = new ProcessBuilder(); pb.command(jhsdbLauncher.getCommand()); Process jhsdb = pb.start(); - jhsdb.waitFor(); - OutputAnalyzer out = new OutputAnalyzer(jhsdb); System.out.println(out.getStdout()); System.err.println(out.getStderr()); out.shouldMatch("\".+\" #\\d+ daemon prio=\\d+ tid=0x[0-9a-f]+ nid=0x[0-9a-f]+ .+ \\[0x[0-9a-f]+]"); out.shouldMatch("\"main\" #\\d+ prio=\\d+ tid=0x[0-9a-f]+ nid=0x[0-9a-f]+ .+ \\[0x[0-9a-f]+]"); --- 54,67 ---- ProcessBuilder pb = new ProcessBuilder(); pb.command(jhsdbLauncher.getCommand()); Process jhsdb = pb.start(); OutputAnalyzer out = new OutputAnalyzer(jhsdb); + jhsdb.waitFor(); + System.out.println(out.getStdout()); System.err.println(out.getStderr()); out.shouldMatch("\".+\" #\\d+ daemon prio=\\d+ tid=0x[0-9a-f]+ nid=0x[0-9a-f]+ .+ \\[0x[0-9a-f]+]"); out.shouldMatch("\"main\" #\\d+ prio=\\d+ tid=0x[0-9a-f]+ nid=0x[0-9a-f]+ .+ \\[0x[0-9a-f]+]");
< prev index next >