Withdrawn: 8314091: Set native thread name for Java main thread

Yi Yang yyang at openjdk.org
Mon Aug 21 06:00:36 UTC 2023


On Thu, 10 Aug 2023 12:42:10 GMT, Yi Yang <yyang at openjdk.org> wrote:

> `cat /proc/<java_process>/task/<main thread>/comm` shows "java"
> 
> User wants it to be "main", just like any other JVM threads, which can be achieved by explicitly calling pthread_setname_np when spawning main thread at VM startup.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/15224


More information about the hotspot-runtime-dev mailing list