On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen <s...@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 <s...@openjdk.org>
Committer: Claes Redestad <redes...@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

Reply via email to