On Tue, 23 Sep 2025 20:22:31 GMT, Alex Menkov <amen...@openjdk.org> wrote:

> The fix updates `jcmd 
> Thread.dump_to_file`/`HotSpotDiagnosticMXBean.dumpThreads` implementation to 
> report thread which owns parkBlocker.
> 
> Testing: tier1..4,hs-tier5-svc

src/java.base/share/classes/jdk/internal/vm/ThreadSnapshot.java line 52:

> 50: 
> 51:     // the owner of the blockerObject when the object is park blocker and 
> is AQS
> 52:     private Thread parkBlockerOwner;

Just wondering whether it makes sense to make the owner field part of the 
`ThreadBlocker` record?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27457#discussion_r2374595923

Reply via email to