RFR: 8339876: Move constant symbol caches to Utf8EntryImpl
Claes Redestad
redestad at openjdk.org
Thu Sep 12 08:21:09 UTC 2024
On Wed, 11 Sep 2024 23:31:33 GMT, Chen Liang <liach at openjdk.org> wrote:
> Some type descriptors are validated against generic utf8 entries, such as field or method types; we can cache a type descriptor wrapping the content of the utf8 entry if this entry is ever used as a type descriptor.
>
> This patch is more of a code cleanup; it is performance neutral.
This looks good!
As you say it seems pretty much neutral on current startup tests, but unlocks future performance gains by making pool factory methods taking `Utf8Entry` more appealing.
-------------
Marked as reviewed by redestad (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20957#pullrequestreview-2299555235
More information about the core-libs-dev
mailing list