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

Claes Redestad redestad at openjdk.org
Mon Aug 12 19:31:44 UTC 2024


On Mon, 12 Aug 2024 19:15:14 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:
> 
>   StringConcat1

src/java.base/share/classes/jdk/internal/util/ClassFileDumper.java line 82:

> 80: 
> 81:     private ClassFileDumper(String key, String path) {
> 82:         String value = VM.getSavedProperty(key);

Could add a comment that this was necessary to avoid a bootstrap circularity issue in the java/lang/String/concat/WithSecurityManager.java test

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

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


More information about the core-libs-dev mailing list