RFR: 8368124: Show useful thread names in ASAN reports [v7]

Thomas Stuefe stuefe at openjdk.org
Thu Sep 25 09:09:23 UTC 2025


On Thu, 25 Sep 2025 07:19:08 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> Thomas Stuefe has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - reorder includes
>>  - remove redundant pthread_setname call
>
> Tested it on our CI runs; the thread names look good now except for the JLI thread we seem to have no 'good' name just
> 'Thread T1 created by T0 here' ... but that's what it is right now. The others show the Java/JVM thread names .

@MBaesken 
> Tested it on our CI runs; the thread names look good now except for the JLI thread we seem to have no 'good' name just 'Thread T1 created by T0 here' ... but that's what it is right now. The others show the Java/JVM thread names .

Interesting find. You hit on an old bug here; the issue is we never set the OS thread name for any attached threads, main thread or others. I opened a new bug to track that: https://bugs.openjdk.org/browse/JDK-8368621

For this PR, I'd say its out of scope.

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

PR Comment: https://git.openjdk.org/jdk/pull/27395#issuecomment-3333006178


More information about the hotspot-dev mailing list