RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo

Shaojin Wen swen at openjdk.org
Fri Aug 30 00:55:42 UTC 2024


Use fast path for ascii characters 1 to 127 to improve the performance of writing Utf8Entry to BufferWriter.

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

Commit messages:
 - bug fix
 - optimize Utf8EntryImpl#writeTo

Changes: https://git.openjdk.org/jdk/pull/20772/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20772&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339290
  Stats: 70 lines in 5 files changed: 32 ins; 1 del; 37 mod
  Patch: https://git.openjdk.org/jdk/pull/20772.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20772/head:pull/20772

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


More information about the core-libs-dev mailing list