Reducing the number of classes
-
liangchenblue at gmail.com
Sat May 4 00:07:44 UTC 2024
Hi Claes,
I just wonder if you can share an output from -Xlog:class+load before and
after to see which classes contribute the most?
Bound instructions shouldn't be loaded in the JDK startup, as JDK I think
is exclusively writing new class files.
We do have a precedent where we merge bound and unbound objects, namely
Utf8EntryImpl where the state of <bound, unbound> is <byte array+range,
string>. For instructions I don't think we have done so yet, and I would
like to confirm that bound instruction classes are indeed loaded per
-Xlog:class+load. If they do get loaded, we can consider using the same
model the Utf8EntryImpl used.
Thanks, Chen
On Fri, May 3, 2024 at 3:03 PM Claes Redestad <claes.redestad at oracle.com>
wrote:
> Sorry for the spam - the mailing list first fooled me that I had signed
> up, then put several e-mail in the ”moderation” queue, with broken links to
> the page that would allow me to cancel.
>
> Mailing lists are dead, see you in the PRs!
>
> Claes
>
> > 2 maj 2024 kl. 11:49 skrev Claes Redestad <claes.redestad at oracle.com>:
> >
> > Hi!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20240503/712e713c/attachment.htm>
More information about the classfile-api-dev
mailing list