RFR: 8341141: Optimize DirectCodeBuilder [v10]
Shaojin Wen
swen at openjdk.org
Mon Sep 30 12:52:13 UTC 2024
On Mon, 30 Sep 2024 06:48:07 GMT, Shaojin Wen <swen at openjdk.org> wrote:
>> Some DirectCodeBuilder related optimizations to improve startup and running performance:
>> 1. Merge calls, merge writeU1 and writeU2 into writeU3
>> 2. Merge calls, merge writeU1 and writeIndex operations
>> 3. Directly use writeU1 instead of writeBytecode
>> 4. Rewrite the implementation of load and store
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
>
> optimize writeBranch
The use of Lambda in the remove method in AttributeHolder was incorrect, and I fixed it by using an array instead of List for the attributes field.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21243#issuecomment-2383098204
More information about the core-libs-dev
mailing list