RFR: 8339401: Optimize ClassFile load and store instructions
Chen Liang
liach at openjdk.org
Mon Sep 2 14:27:19 UTC 2024
On Wed, 28 Aug 2024 04:14:53 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> BytecodeHelpers' loadOpcode and storeOpcode are large methods with code size greater than 325, break it into multiple small methods and call them directly in DirectCodeBuilder
src/java.base/share/classes/jdk/internal/classfile/impl/DirectCodeBuilder.java line 1200:
> 1198:
> 1199: @Override
> 1200: public CodeBuilder lload(int slot) {
Uh, I mean each of the method is inserted to our existing override list by alphabetical order instead of inserting everything to the same place at once
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20739#discussion_r1740997023
More information about the core-libs-dev
mailing list