RFR: 8338546: Speed up ConstantPoolBuilder::classEntry(ClassDesc) [v2]

Chen Liang liach at openjdk.org
Thu Aug 22 13:54:03 UTC 2024


On Thu, 22 Aug 2024 13:32:05 GMT, Claes Redestad <redestad at openjdk.org> wrote:

>> Unfortunately primitive types aren't encoded by class entries, but accessed by getstatic on Wrapper's TYPE field.
>
> Ok, good. Maybe add a comment that this collection of descs deliberately omits primitive types since they would not usually end up in this code?

Uh, I mean it's a class entry... and class file format prohibits primitives in class entries. I would deduce that information from the benchmark name.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20667#discussion_r1727104037


More information about the core-libs-dev mailing list