RFR: 8309753: Include array classes in the output of -XX:+PrintSharedArchiveAndExit

Calvin Cheung ccheung at openjdk.org
Fri Jun 9 23:33:34 UTC 2023


Please review this simple enhancement for including the array classes names in the output of -XX:+PrintArchiveAndExit.

Before fix (portion of the output):

 657: java.lang.Object boot_loader
 658: java.lang.Character$CharacterCache boot_loader
 659: sun.nio.fs.LinuxFileSystem boot_loader
 660: java.lang.ThreadLocal boot_loader
 661: java.util.TreeSet boot_loader
 662: java.lang.invoke.LambdaForm$Kind boot_loader


After fix:

 657: java.lang.Object boot_loader
      - array: [Ljava.lang.Object;
      - array: [[Ljava.lang.Object;
 658: java.lang.Character$CharacterCache boot_loader
 659: sun.nio.fs.LinuxFileSystem boot_loader
 660: java.lang.ThreadLocal boot_loader
 661: java.util.TreeSet boot_loader
 662: java.lang.invoke.LambdaForm$Kind boot_loader
      - array: [Ljava.lang.invoke.LambdaForm$Kind;


Passed tier1 testing.

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

Commit messages:
 - 8309753: Include array classes in the output of -XX:+PrintSharedArchiveAndExit

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

PR: https://git.openjdk.org/jdk/pull/14403


More information about the hotspot-runtime-dev mailing list