RFR: 8343650: Reuse StringLatin1::putCharsAt and StringUTF16::putCharsAt

Chen Liang liach at openjdk.org
Sun Nov 10 22:52:08 UTC 2024


On Tue, 5 Nov 2024 15:29:39 GMT, Shaojin Wen <swen at openjdk.org> wrote:

> Reuse the optimized putCharsAt method of StringLatin1 and StringUTF16 in PR #19626 to simplify the code, eliminate boundary checks, and improve performance

Looks good.  Tier 1-3 tests pass.

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21907#pullrequestreview-2425878833


More information about the core-libs-dev mailing list