<div dir="ltr">Thanks for the commands. These will definitely be useful when generating the archive.<div>If I already have the archive, is there any way to check the contents?<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br></div><div>Regards,</div><div dir="ltr">Ashutosh Mehra</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 27, 2022 at 3:50 PM Ioi Lam <<a href="mailto:ioi.lam@oracle.com">ioi.lam@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Currently there's no such a tool. The very closest thing you can find is <br>
a map file, which can be generated when dumping the archive. E.g.,<br>
<br>
<br>
java -Xshare:dump -Xlog:cds+map=debug:file=cds.map:none:filesize=0<br>
java -Xshare:dump -Xlog:cds+map=trace:file=cds.map:none:filesize=0<br>
<br>
Also, if you want to see the list of classes:<br>
<br>
java -Xshare:dump -Xlog:cds+class=debug<br>
<br>
Thanks<br>
- Ioi<br>
<br>
<br>
On 7/27/2022 10:48 AM, Ashutosh Mehra wrote:<br>
> Hi,<br>
> I am wondering if there is any way to peek into the CDS archive and <br>
> look into its contents. I believe a tool that dumps the list of <br>
> classes in the archive would be really helpful.<br>
><br>
> Regards,<br>
> Ashutosh Mehra<br>
<br>
</blockquote></div>