RFR: 8294759: Print actual lock/monitor ranking [v2]

Aleksey Shipilev shade at openjdk.org
Wed Oct 5 16:02:22 UTC 2022


On Wed, 5 Oct 2022 04:11:40 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Comments
>
> src/hotspot/share/runtime/mutexLocker.cpp line 427:
> 
>> 425: 
>> 426: void print_lock_ranks(outputStream* st) {
>> 427:   st->print_cr("VM Mutex/Monitor ranks: ");
> 
> Do we want to clarify this is not the complete set of Mutexes in the VM?

hs_err does not clarify this in the similar printout ("VM Mutex/Monitor currently owned by a thread: " in the method above), so it seems to be implied these are only the known mutexes. So, I left it as is.

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

PR: https://git.openjdk.org/jdk/pull/10556


More information about the hotspot-runtime-dev mailing list