RFR: 8338930: StringConcatFactory static string concatenation strategy
Shaojin Wen
duke at openjdk.org
Sun Aug 25 07:52:07 UTC 2024
On Thu, 22 Aug 2024 11:50:02 GMT, Shaojin Wen <duke 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.
The same data is used in the diff section above, I have updated it and attached the entire data file.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20675#issuecomment-2308719175
More information about the core-libs-dev
mailing list