Re: RFR: 8345120: A likely bug in StringSupport::chunkedStrlenShort [v8]

2024-12-02 Thread Maurizio Cimadamore
On Mon, 2 Dec 2024 15:40:18 GMT, Per Minborg wrote: >> This PR proposes to rewrite the `StringSupport::chunkedStrlen*` methods, >> fixing a bug in the `short_strlen` variant for odd offsets (`offset % 2 != >> 0`). >> >> This PR also improves performance on modern hardware, as there is no need

Re: RFR: 8345120: A likely bug in StringSupport::chunkedStrlenShort [v8]

2024-12-02 Thread Per Minborg
> This PR proposes to rewrite the `StringSupport::chunkedStrlen*` methods, > fixing a bug in the `short_strlen` variant for odd offsets (`offset % 2 != > 0`). > > This PR also improves performance on modern hardware, as there is no need for > pre-looping alignment. Removing this improves perfo