RFR: 8369283: Improve trace logs in safepoint machinery [v7]

Aleksey Shipilev shade at openjdk.org
Thu Oct 9 12:18:24 UTC 2025


On Thu, 9 Oct 2025 11:27:21 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> Hence please log TID (linux thread pid), so one can do perf record --pid "TID" or nice or what you need.

Right! In the initial version of the patch, I printed thread names as external identifiers. Then I realized you cannot touch the names, because they can allocate, so I removed that part. But that also loses any external ident for threads. I now pushed the commit that prints the thread TIDs. Updated log snippet here: https://github.com/openjdk/jdk/pull/27673#issuecomment-3376730861

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

PR Comment: https://git.openjdk.org/jdk/pull/27673#issuecomment-3385590821


More information about the hotspot-dev mailing list