RFR: 8365057: Add support for java.util.concurrent lock information to Thread.dump_to_file [v2]
Alex Menkov
amenkov at openjdk.org
Thu Sep 25 19:34:00 UTC 2025
On Thu, 25 Sep 2025 06:29:58 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> src/jdk.management/share/classes/com/sun/management/doc-files/threadDump.schema.json line 83:
>>
>>> 81: "owner": {
>>> 82: "type": "string",
>>> 83: "description": "The thread identifier of the owner when the parkBlocker is an AbstractOwnableSynchronizer."
>>
>> Is it possible for there to not be an owner? If so what does this report?
>
> In the schema, the only require property of a parkBlocker is "object". The "owner" is optional.
Yes, owner may be absent.
As we discussed in the JBS, owner can release the object at any time (and set "parkBlockerOwner" field to null)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27457#discussion_r2380094231
More information about the serviceability-dev
mailing list