8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743
Reviewed-by: cjplummer, amenkov
This commit is contained in:
parent
c703d29042
commit
1fe3ada001
@ -59,7 +59,7 @@ public class TestClhsdbJstackLock {
|
||||
"^\\s+- waiting to lock <0x[0-9a-f]+> \\(a java\\.lang\\.Class for LingeredAppWithLock\\)$",
|
||||
"^\\s+- locked <0x[0-9a-f]+> \\(a java\\.lang\\.Thread\\)$",
|
||||
"^\\s+- locked <0x[0-9a-f]+> \\(a java\\.lang\\.Class for int\\)$",
|
||||
"^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$"));
|
||||
"^\\s+- waiting on (<0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)|<no object reference available>)$"));
|
||||
unExpStrMap.put("jstack", List.of(
|
||||
"missing reason for "));
|
||||
test.run(app.getPid(), cmds, expStrMap, unExpStrMap);
|
||||
|
@ -65,7 +65,7 @@ public class TestJhsdbJstackLock {
|
||||
out.shouldMatch("^\\s+- waiting to lock <0x[0-9a-f]+> \\(a java\\.lang\\.Class for LingeredAppWithLock\\)$");
|
||||
out.shouldMatch("^\\s+- locked <0x[0-9a-f]+> \\(a java\\.lang\\.Thread\\)$");
|
||||
out.shouldMatch("^\\s+- locked <0x[0-9a-f]+> \\(a java\\.lang\\.Class for int\\)$");
|
||||
out.shouldMatch("^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$");
|
||||
out.shouldMatch("^\\s+- waiting on (<0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)|<no object reference available>)$");
|
||||
|
||||
out.stderrShouldBeEmptyIgnoreDeprecatedWarnings();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user