RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v11]

Shaojin Wen swen at openjdk.org
Tue Sep 3 09:56:52 UTC 2024


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

Shaojin Wen has updated the pull request incrementally with two additional commits since the last revision:

 - optimize writeUTF
 - stringCoder -> isLatin1

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20772/files
  - new: https://git.openjdk.org/jdk/pull/20772/files/10cc1535..ce6c71e2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20772&range=10
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20772&range=09-10

  Stats: 40 lines in 3 files changed: 16 ins; 14 del; 10 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