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

Matthias Baesken mbaesken at openjdk.org
Wed Sep 24 07:43:14 UTC 2025


On Wed, 24 Sep 2025 05:28:53 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> I don't think so. If this "fails" what could we do? This should not be presented as a failure to the end user.
>
> The assert on pthread_setname was there for ages and never fired. The asserts are there to tell us, in our test landscapes, whether this ever fails. If it does, we can look for the reasons and possibly remove the assert. 
> 
> In release builds the error should be ignored, since the user cannot do anything about it and the consequences don't matter that much.

okay fine then let's just do the assert if there is not much we could do otherwise in product builds.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27395#discussion_r2374785295


More information about the hotspot-dev mailing list