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

Claes Redestad redestad at openjdk.org
Tue Aug 13 09:05:09 UTC 2024


On Tue, 13 Aug 2024 09:00:10 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 one additional commit since the last revision:
> 
>   Update src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java
>   
>   Co-authored-by: Claes Redestad <claes.redestad at oracle.com>

test/jdk/java/lang/String/concat/HiddenClassUnloading.java line 70:

> 68:     }
> 69: 
> 70:     static void assertEquals(String expected, String actual) {

unused

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20273#discussion_r1714934816


More information about the core-libs-dev mailing list