RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v17]
Claes Redestad
redestad at openjdk.org
Tue Sep 3 23:52:19 UTC 2024
On Tue, 3 Sep 2024 16:27:58 GMT, Shaojin Wen <swen at openjdk.org> 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:
>
> optimize for utf16
This looks very promising. Good to not have to leak out `isLatin1` via the `SharedSecrets`. I'll run some extra testing overnight, and review in detail tomorrow.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20772#issuecomment-2327639992
More information about the core-libs-dev
mailing list