Re: RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]

2024-09-04 Thread Chen Liang
On Wed, 4 Sep 2024 23:14:35 GMT, Shaojin Wen wrote: >> test/jdk/java/lang/String/CountNonZeroAscii.java line 35: >> >>> 33: * @modules java.base/jdk.internal.access >>> 34: * @summary test latin1 String countNonZeroAscii >>> 35: * @run testng/othervm -XX:+CompactStrings CountNonZeroAscii >>

Re: RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]

2024-09-04 Thread Shaojin Wen
On Wed, 4 Sep 2024 18:09:31 GMT, Chen Liang wrote: >> Shaojin Wen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> from @cl4es 's suggestion > > test/jdk/java/lang/String/CountNonZeroAscii.java line 35: > >> 33: * @modules java.base/jdk

Re: RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]

2024-09-04 Thread Chen Liang
On Wed, 4 Sep 2024 12:01:37 GMT, Shaojin Wen wrote: >> 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: > > from @cl

Re: RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]

2024-09-04 Thread Claes Redestad
On Wed, 4 Sep 2024 12:01:37 GMT, Shaojin Wen wrote: >> 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: > > from @cl

Re: RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]

2024-09-04 Thread Claes Redestad
On Wed, 4 Sep 2024 12:01:37 GMT, Shaojin Wen wrote: >> 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: > > from @cl

Re: RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]

2024-09-04 Thread Shaojin Wen
On Wed, 4 Sep 2024 12:01:37 GMT, Shaojin Wen wrote: >> 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: > > from @cl

Re: RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]

2024-09-04 Thread Shaojin Wen
> 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: from @cl4es 's suggestion - Changes: - all: https://git.o