RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v5]
Shaojin Wen
swen at openjdk.org
Mon Sep 2 14:06:42 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 21 additional commits since the last revision:
- Update src/java.base/share/classes/java/lang/StringCoding.java
Co-authored-by: ExE Boss <3889017+ExE-Boss at users.noreply.github.com>
- vectorized countGreaterThanZero
- add comments
- optimization for none-ascii latin1
- Revert "vectorized countGreaterThanZero"
This reverts commit 88a77722c8f5401ac28572509d6a08b3e88e8e40.
- vectorized countGreaterThanZero
- copyright
- use JLA if length < 256
- fix utf_len error
- code style
- ... and 11 more: https://git.openjdk.org/jdk/compare/66682133...2a36b443
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20772/files
- new: https://git.openjdk.org/jdk/pull/20772/files/34aab42d..2a36b443
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20772&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20772&range=03-04
Stats: 4359 lines in 151 files changed: 2931 ins; 319 del; 1109 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