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

Ioi Lam iklam at openjdk.org
Mon Jun 12 01:21:49 UTC 2023


On Sun, 11 Jun 2023 16:40:32 GMT, Ioi Lam <iklam at openjdk.org> wrote:

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

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

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


More information about the hotspot-runtime-dev mailing list