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

Ioi Lam iklam at openjdk.org
Mon Jun 12 22:09:44 UTC 2023


On Mon, 12 Jun 2023 20:56:22 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> 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

Marked as reviewed by iklam (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/14403#pullrequestreview-1475891401


More information about the hotspot-runtime-dev mailing list