On Wed, 11 Sep 2024 23:31:33 GMT, Chen Liang <li...@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

Reply via email to