RFR: 8336856: Efficient hidden class-based string concatenation strategy [v55]

Shaojin Wen duke at openjdk.org
Wed Aug 14 11:00:58 UTC 2024


On Tue, 13 Aug 2024 16:34:18 GMT, Shaojin Wen <duke at openjdk.org> wrote:

>> This PR implements the same algorithm as the current generateMHInlineCopy based on bytecode to improve startup performance.
>
> Shaojin Wen has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - static final
>  - code style

When the number of parameters is large, such as greater than the current threshold of 16, the possibility of reuse will be very low. At this time, we can not use the cache and directly generate constants in the bytecode, which can be used as a follow-up work.

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

PR Comment: https://git.openjdk.org/jdk/pull/20273#issuecomment-2288448113


More information about the core-libs-dev mailing list