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

2024-10-09 Thread Chen Liang
On Fri, 4 Oct 2024 16:53:50 GMT, Shaojin Wen 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: > >

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

2024-10-04 Thread Shaojin Wen
> 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

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v3]

2024-10-04 Thread Chen Liang
On Wed, 25 Sep 2024 01:10:04 GMT, Shaojin Wen 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 with a new target base due to a > merge or a rebase. The pull request no

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v3]

2024-10-04 Thread Shaojin Wen
On Wed, 25 Sep 2024 01:10:04 GMT, Shaojin Wen 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 with a new target base due to a > merge or a rebase. The pull request no

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v3]

2024-09-26 Thread Shaojin Wen
On Wed, 25 Sep 2024 01:10:04 GMT, Shaojin Wen 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 with a new target base due to a > merge or a rebase. The pull request no

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v3]

2024-09-24 Thread Chen Liang
On Wed, 25 Sep 2024 01:10:04 GMT, Shaojin Wen 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 with a new target base due to a > merge or a rebase. The pull request no

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v3]

2024-09-24 Thread Shaojin Wen
> 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 10 commits: - inflateNonAscii - Merge remote-tra

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v2]

2024-09-24 Thread Chen Liang
On Sat, 21 Sep 2024 00:39:47 GMT, Shaojin Wen 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 with a new target base due to a > merge or a rebase. The pull request no

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate [v2]

2024-09-20 Thread Shaojin Wen
> 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 'or

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate

2024-08-30 Thread Chen Liang
On Thu, 29 Aug 2024 16:03:31 GMT, Chen Liang wrote: >> A very small optimization, split the large method inflate, split the >> infrequently used paths into a method inflateCHAR > > src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java > line 402: > >> 400:

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate

2024-08-30 Thread Chen Liang
On Thu, 29 Aug 2024 11:44:50 GMT, Shaojin Wen wrote: > A very small optimization, split the large method inflate, split the > infrequently used paths into a method inflateCHAR Java's UTF8 entry cannot use the 4-byte format in regular UTF8. You can check out how DataInputStream read UTF8 string

Re: RFR: 8339320: Optimize ClassFile Utf8EntryImpl#inflate

2024-08-30 Thread ExE Boss
On Thu, 29 Aug 2024 11:44:50 GMT, Shaojin Wen wrote: > A very small optimization, split the large method inflate, split the > infrequently used paths into a method inflateCHAR Typo (`HCAR` → `CHAR`): src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java line 235: > 2