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

2024-08-30 Thread Claes Redestad
On Fri, 30 Aug 2024 05:24:58 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: > > add com

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

2024-08-29 Thread Chen Liang
On Fri, 30 Aug 2024 05:21:46 GMT, Shaojin Wen wrote: >> src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java >> line 441: >> >>> 439: } >>> 440: else { >>> 441: int charLength = stringValue.length(); >> >> In the slo

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

2024-08-29 Thread Shaojin Wen
On Fri, 30 Aug 2024 04:41:15 GMT, Chen Liang wrote: >> Shaojin Wen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> add comments > > src/java.base/share/classes/jdk/internal/classfile/impl/AbstractPoolEntry.java > line 441: > >> 439:

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

2024-08-29 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: add comments - Changes: - all: https://git.openjdk.org/jd