RFR: 8272447: Remove 'native' ranked Mutex [v3]

David Holmes dholmes at openjdk.java.net
Mon Aug 23 05:01:32 UTC 2021

On Thu, 19 Aug 2021 15:22:37 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> @tstuefe  can probably answer why he picked native.  I assume it was due to availability and that it was a test. I don't think we want tests to be out of the mutex ranking system and deadlock either.  'leaf' didn't deadlock as the other metaspace locks are no-safepoint locks and below leaf.
> Yes, it seemed easiest at the time. Replacing it with a ranked mutex is fine.

I'm not at all sure why we would care about a gtest Mutex in terms of the ranking system?


PR: https://git.openjdk.java.net/jdk/pull/5116

More information about the hotspot-runtime-dev mailing list