RFR: 8288298: Resolve multiline message parsing ambiguities in UL

Johan Sjölen jsjolen at openjdk.org
Wed Oct 30 09:17:10 UTC 2024


On Wed, 30 Oct 2024 09:11:48 GMT, Antón Seoane <duke at openjdk.org> wrote:

>> This might be the better way to go, with `strstr`.
>
> I'm not sure if that would be possible. The JVM IO printing functions need a null terminated string, so in the end we would still need to either replace newlines or copy each newline-terminated string to a new one that we would print. In any case, if instead of traversing the string substituting we use `strstr`, under the hood we're still traversing and now I'm not that sure if the approach would be vectorizable

I'm still fine with what we have.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21712#discussion_r1822180805


More information about the hotspot-runtime-dev mailing list