RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v2]
Shaojin Wen
swen at openjdk.org
Sat Sep 21 00:39:47 UTC 2024
> A very small optimization, split the large method inflate, split the infrequently used paths into a method inflateCHAR
Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:
- Merge remote-tracking branch 'origin/optim_class_file_pool_inflat_202408' into optim_class_file_pool_inflat_202408
- Update src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java
Co-authored-by: ExE Boss <3889017+ExE-Boss at users.noreply.github.com>
- Update src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java
Co-authored-by: ExE Boss <3889017+ExE-Boss at users.noreply.github.com>
- optimize Utf8EntryImpl inflate
- Merge remote-tracking branch 'upstream/master' into optim_class_file_pool_inflat_202408
# Conflicts:
# src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java
- Suggestions from @liach
- fix build error
- optimize Utf8EntryImpl inflate
-------------
Changes: https://git.openjdk.org/jdk/pull/20767/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20767&range=01
Stats: 76 lines in 1 file changed: 23 ins; 20 del; 33 mod
Patch: https://git.openjdk.org/jdk/pull/20767.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20767/head:pull/20767
PR: https://git.openjdk.org/jdk/pull/20767
More information about the core-libs-dev
mailing list