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

Serguei Spitsyn sspitsyn at openjdk.org
Thu Sep 25 01:42:48 UTC 2025


On Wed, 24 Sep 2025 19:59:55 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

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: Should it be: "...if lines of a plain text thread dump **is** containing" ?

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

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


More information about the serviceability-dev mailing list