On Tue, 24 Mar 2026 10:37:23 GMT, Roman Kennke <[email protected]> wrote:

> Educated guess? E.g. how long can thread-names realistically be, and how much 
> can we realistically allocate on-stack? It's not a limit - when the string 
> really is longer, then we allocate a temporary buffer on heap.

Note that we have stringStream, which does that already (small static buffer, 
expanding to a malloc'ed larger one if that is not enough)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30374#discussion_r2980691514

Reply via email to