RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v4]

Chen Liang liach at openjdk.org
Wed Oct 9 17:03:59 UTC 2024


On Fri, 4 Oct 2024 16:53:50 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> 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 incrementally with one additional commit since the last revision:
> 
>   Update src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java
>   
>   Co-authored-by: Chen Liang <liach at openjdk.org>

We can optimize non-ascii reading here and in DataInputStream together later.

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20767#pullrequestreview-2357720331


More information about the core-libs-dev mailing list