RFR: 8341141: Optimize DirectCodeBuilder [v23]
Claes Redestad
redestad at openjdk.org
Mon Oct 7 19:42:39 UTC 2024
On Sat, 5 Oct 2024 16:33:50 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:
>
> fix merge error
I took this for a spin and results looks promising. Even a tentative win on the Write.jdkTree microbenchmark. The number of changes is a bit staggering so will take a while to thoroughly review in detail. I might be able to get through it all tomorrow.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21243#issuecomment-2397739639
More information about the core-libs-dev
mailing list