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

Patrick Strawderman duke at openjdk.org
Fri Feb 27 00:32:07 UTC 2026


> 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:

  Reduce warmup and measurement iterations for benchmark

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29920/files
  - new: https://git.openjdk.org/jdk/pull/29920/files/458236ba..a2fa6d14

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29920&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29920&range=01-02

  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29920.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29920/head:pull/29920

PR: https://git.openjdk.org/jdk/pull/29920


More information about the core-libs-dev mailing list