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

Shaojin Wen swen at openjdk.org
Fri Aug 30 17:08:33 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 one additional commit since the last revision:

  Suggestions from @cl4es, rename hasNegativeOrZeros to isLatin1GreaterThanZero

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20772/files
  - new: https://git.openjdk.org/jdk/pull/20772/files/28bd454c..3ca9fb52

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

  Stats: 16 lines in 4 files changed: 6 ins; 1 del; 9 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