On Mon, 6 Jul 2026 13:07:34 GMT, Mark Powers <[email protected]> wrote:
> [JDK-8359758](https://bugs.openjdk.org/browse/JDK-8359758) > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). I never tried removing the final substring operation because performance improvements were not that great. Results with `-prof gc`: BEFORE ------ gc.alloc.rate avgt 15 3692.155 ± 155.889 MB/sec gc.alloc.rate.norm avgt 15 164680.003 ± 1251.956 B/op gc.count avgt 15 22253.000 counts gc.time avgt 15 13391.000 AFTER ----- gc.alloc.rate avgt 15 2481.119 ± 154.166 MB/sec gc.alloc.rate.norm avgt 15 104768.003 ± 0.001 B/op gc.count avgt 15 23200.000 counts gc.time avgt 15 13612.000 ------------- PR Comment: https://git.openjdk.org/jdk/pull/31789#issuecomment-4907222670
