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

2024-09-03 Thread Shaojin Wen
On Tue, 3 Sep 2024 09:11:06 GMT, Claes Redestad wrote: >> Shaojin Wen has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - code style >> - remove unsafe > > src/java.base/share/classes/jdk/internal/classfile/impl/BufWriterImpl.java > line

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

2024-09-03 Thread Claes Redestad
On Tue, 3 Sep 2024 08:54:39 GMT, Claes Redestad wrote: >> Shaojin Wen has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - code style >> - remove unsafe > > test/micro/org/openjdk/bench/java/lang/classfile/Utf8EntryWriteTo.java line > 76:

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

2024-09-03 Thread Claes Redestad
On Tue, 3 Sep 2024 00:38:40 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 two additional > commits since the last revision: > > - code s

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

2024-09-03 Thread Claes Redestad
On Tue, 3 Sep 2024 00:38:40 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 two additional > commits since the last revision: > > - code s

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

2024-09-02 Thread Shaojin Wen
On Tue, 3 Sep 2024 00:38:40 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 two additional > commits since the last revision: > > - code s

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

2024-09-02 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 two additional commits since the last revision: - code style - remove unsafe - Changes: - all: https://g