RFR: 8244540: Print more information with -XX:+PrintSharedArchiveAndExit

Yumin Qi minqi at openjdk.java.net
Thu Mar 25 04:13:00 UTC 2021


Hi, Please review
  Added more info in printout when -XX:+PrintSharedArchiveAndExit used:
  archive names (static/dynamic or static only)
  loaded classes and their loaders
  number of shared symbols
  number of shared strings
  full vm version stored in shared archive.
  added two tests for custom loader test and dynamic test.

  Tests: tier1,tier2,tier3,tier4

Thanks
Yumin

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

Commit messages:
 - Fix extra space at end of line
 - 8244540: Print more information with -XX:+PrintSharedArchiveAndExit

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

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


More information about the hotspot-runtime-dev mailing list