Integrated: 8338930: StringConcatFactory hardCoded string concatenation strategy
Shaojin Wen
swen at openjdk.org
Tue Sep 10 12:36:19 UTC 2024
On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> This is a follow-up to PR #20273, which improves performance when the number of parameters exceeds 20.
>
> When the number of parameters is large, the possibility of reuse will be lower, so we can use the static concat method and write the length and coder directly into the bytecode to solve the performance regression problem.
This pull request has now been integrated.
Changeset: 4d597de8
Author: Shaojin Wen <swen at openjdk.org>
Committer: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4d597de893dad79e74a280f3f9e82f0a14f9045d
Stats: 132 lines in 3 files changed: 83 ins; 2 del; 47 mod
8338930: StringConcatFactory hardCoded string concatenation strategy
Reviewed-by: redestad, liach
-------------
PR: https://git.openjdk.org/jdk/pull/20675
More information about the core-libs-dev
mailing list