RFR: 8339290: Optimize ClassFile Utf8EntryImpl#writeTo [v20]
Chen Liang
liach at openjdk.org
Wed Sep 4 18:13:21 UTC 2024
On Wed, 4 Sep 2024 12:01:37 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:
>
> from @cl4es 's suggestion
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
You are using the `testng` driver for a `main` test. I can probably fix it quickly.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20772#discussion_r1744224282
More information about the core-libs-dev
mailing list