Skip to content

Commit

Permalink
8321276: runtime/cds/appcds/dynamicArchive/DynamicSharedSymbols.java …
Browse files Browse the repository at this point in the history
…failed with "'17 2: jdk/test/lib/apps ' missing from stdout/stderr"

Reviewed-by: dcubed
  • Loading branch information
coleenp committed Dec 4, 2023
1 parent 65be5e0 commit 316b783
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ private static void doTest(String topArchiveName) throws Exception {
ProcessBuilder pb = new ProcessBuilder();
pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), Long.toString(pid), "VM.symboltable", "-verbose"});
OutputAnalyzer output = CDSTestUtils.executeAndLog(pb, "jcmd-symboltable");
output.shouldContain("17 2: jdk/test/lib/apps\n");
output.shouldContain("17 3: jdk/test/lib/apps\n"); // 3 because a TempSymbol will be found in the TempSymbolCleanupDelayer queue.
// Note: we might want to drain the queue before CDS dumps but this is correct for now, unless the queue length changes.
output.shouldContain("Dynamic shared symbols:\n");
output.shouldContain("5 65535: Hello\n");

Expand Down

1 comment on commit 316b783

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.