RFR: 8271303: jcmd VM.cds {static, dynamic}_dump should print more info

Yumin Qi minqi at openjdk.java.net
Thu Sep 23 01:00:21 UTC 2021


Hi, please review the change for printing more info in jcmd terminal when dump shared archives. The ultimate shared archive file name is formed in java function (CDS.dumpSharedArchive) so to get the final archive name, the signature of CDS.dumpSharedArchive changed to return the archive name. At the end of dumping, return the archive name back to the caller so we can print out it in jcmd terminal.

Tests: ter1-4
           manually checked the output of jcmd execution.

Thanks
Yumin

-------------

Commit messages:
 - 8271303: jcmd VM.cds {static, dynamic}_dump should print more info

Changes: https://git.openjdk.java.net/jdk/pull/5643/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5643&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271303
  Stats: 15 lines in 3 files changed: 9 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5643.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5643/head:pull/5643

PR: https://git.openjdk.java.net/jdk/pull/5643


More information about the hotspot-runtime-dev mailing list