RFR: 8339168: Optimize ClassFile Util slotSize

Chen Liang liach at openjdk.org
Wed Aug 28 14:47:45 UTC 2024


On Wed, 28 Aug 2024 13:12:35 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> A small optimization to improve the performance of jdk.internal.classfile.impl.Util#slotSize/isDoubleSlot

Nice optimization enabled by our PrimitiveClassDesc object sharing.

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20747#pullrequestreview-2266376528


More information about the core-libs-dev mailing list