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

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

@cl4es Observed that `slotSize` will only get a `CD_void` at method return 
type; so we can make the non-return-type (so field type and method parameter 
type) usages of `slotSize` to `isDoubleSlot() ? 2 : 1`.

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

PR Comment: https://git.openjdk.org/jdk/pull/20747#issuecomment-2320023615

Reply via email to