RFR: 8365057: Add support for java.util.concurrent lock information to Thread.dump_to_file [v5]

Serguei Spitsyn sspitsyn at openjdk.org
Fri Sep 26 07:24:26 UTC 2025


On Thu, 25 Sep 2025 19:40:40 GMT, Alex Menkov <amenkov at 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
>
> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   feedback

Just one simple comment update is still needed. Otherwise, it is good.

test/jdk/com/sun/management/HotSpotDiagnosticMXBean/DumpThreads.java line 688:

> 686: 
> 687:     /**
> 688:      * Returns true if lines of a plain text thread dump containing the given text.

Nit: This still needs to be reverted back.

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27457#pullrequestreview-3270528351
PR Review Comment: https://git.openjdk.org/jdk/pull/27457#discussion_r2381135179


More information about the serviceability-dev mailing list