On Tue, 24 Mar 2026 07:19:30 GMT, Alan Bateman <[email protected]> wrote:

>  I think we would expect to see a lot of usage to set the thread name before 
> starting a thread, in which case there is no 
> pthread_setname_np/prctl(PR_SET_NAME) usage. 

Note that still happens, but is deferred until the platform thread is started.

> It would be useful to know if setting the OS thread name is useful or not. 

Well it was requested to be added (and then expanded to all OS) so presumably 
yes it is useful.

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

PR Comment: https://git.openjdk.org/jdk/pull/30374#issuecomment-4116114039

Reply via email to