RFR: 8365057: Add support for java.util.concurrent lock information to Thread.dump_to_file [v2]
Alan Bateman
alanb at openjdk.org
Thu Sep 25 07:08:03 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
src/java.base/share/classes/jdk/internal/vm/ThreadSnapshot.java line 47:
> 45: private int blockerTypeOrdinal;
> 46: private Object blockerObject;
> 47: // the owner of the blockerObject when the object is park blocker and is AQS
Typo here, AQS != AbstractOwnableSynchronizer
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27457#discussion_r2377970208
More information about the serviceability-dev
mailing list