Skip to content

Commit

Permalink
ClhsdbFindPC logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vieiro committed Dec 2, 2024
1 parent 1c80800 commit cccd5e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ private static void testFindPC(boolean withXcomp, boolean withCore) throws Excep
// - LingeredAppWithTrivialMain.main(java.lang.String[]) @bci=1, line=33, pc=0x00007ff18ff519f0, ...
String pcAddress = null;
String[] parts = output.split("LingeredAppWithTrivialMain.main");
if (parts.length < 2) {
throw new IllegalArgumentException(String.format("LingeredAppWithTrivialMain.main got output='%s' coreFileName '%s'", output, coreFileName));
}
String[] tokens = parts[1].split(" ");
for (String token : tokens) {
if (token.contains("pc")) {
Expand Down

0 comments on commit cccd5e5

Please sign in to comment.