RFR: 8378698: Optimize Base64.Encoder#encodeToString [v2]
Chen Liang
liach at openjdk.org
Thu Feb 26 22:34:44 UTC 2026
On Thu, 26 Feb 2026 20:28:12 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:
>
> Add JMH benchmark for encodeToString
Apparently the new benchmark takes 33 mins to be fully run. I recommend reducing the iterations as done in https://bugs.openjdk.org/browse/JDK-8287810.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29920#issuecomment-3969620680
More information about the core-libs-dev
mailing list