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

Calvin Cheung ccheung at openjdk.org
Tue Jun 13 15:57:57 UTC 2023


On Mon, 12 Jun 2023 01:19:25 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> Looks good. Maybe we should also add the array classes to the `-Xlog:cds+class` output when dumping the archive?
>
>> Maybe we should also add the array classes to the `-Xlog:cds+class` output when dumping the archive?
> 
> Oh never mind. I checked again and the array classes are already printed:
> 
> 
> $ java -Xshare:dump -Xlog:cds+class=debug | grep java.lang.Object
> [3.617s][debug  ][cds,class] klasses[   10] = 0x00000008000012d0 boot  java.lang.Object
> [3.630s][debug  ][cds,class] klasses[  173] = 0x0000000800001738 array [Ljava.lang.Object;
> [3.658s][debug  ][cds,class] klasses[  822] = 0x00000008001a02a0 array [[Ljava.lang.Object;

Thanks @iklam, @matias9927 for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/14403#issuecomment-1589589958


More information about the hotspot-runtime-dev mailing list