RFR: 8273608: Deadlock when jcmd of OnError attaches to itself [v4]
Xin Liu
xliu at openjdk.java.net
Wed Oct 6 00:29:09 UTC 2021
On Tue, 5 Oct 2021 18:07:35 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Xin Liu has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Cleanup: remove a statment of debugging.
>
> src/hotspot/share/runtime/mutexLocker.cpp line 376:
>
>> 374: }
>> 375:
>> 376: void unlock_locks_on_error(JavaThread* thread) {
>
> Does this have to live in mutexLocker.cpp? Seems to be highly specific to error handling and would make more sense as a function local static in vmError.cpp.
`unlock_locks_on_error` refers to `_mutex_array`, which is a static variable.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5590
More information about the hotspot-dev
mailing list