RFR: 8378698: Optimize Base64.Encoder#encodeToString [v4]

Roger Riggs rriggs at openjdk.org
Fri Feb 27 16:32:23 UTC 2026


On Fri, 27 Feb 2026 03:43:11 GMT, Patrick Strawderman <duke at openjdk.org> wrote:

>> Avoid a byte array copy in encodeToString by using JavaLangAccess#uncheckedNewStringWithLatin1Bytes
>
> Patrick Strawderman has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update license for benchmark
>   
>   Co-authored-by: Chen Liang <liach at openjdk.org>

Looks good.  Thanks for the JMH test.

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29920#pullrequestreview-3867870340


More information about the core-libs-dev mailing list