RFR: 8244540: Print more information with -XX:+PrintSharedArchiveAndExit [v2]

Yumin Qi minqi at openjdk.java.net
Tue Mar 30 03:40:33 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

Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:

  Fixed class output with no reset index. Separated output from dynamic from static. Removed verbose loaded_by from output.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3187/files
  - new: https://git.openjdk.java.net/jdk/pull/3187/files/f424cfc6..1a68b5ec

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3187&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3187&range=00-01

  Stats: 29 lines in 5 files changed: 17 ins; 2 del; 10 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