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

Calvin Cheung ccheung at openjdk.org
Mon Jun 12 20:56:22 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.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  add a test

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14403/files
  - new: https://git.openjdk.org/jdk/pull/14403/files/b9d5ac44..a0997f31

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14403&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14403&range=00-01

  Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 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