RFR: 8275917: Some locks shouldn't allow_vm_block [v2]

Coleen Phillimore coleenp at openjdk.java.net
Wed Oct 27 17:53:50 UTC 2021


On Wed, 27 Oct 2021 15:16:07 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove incorrect comment.
>
> src/hotspot/share/runtime/mutexLocker.cpp line 281:
> 
>> 279: 
>> 280:   def(Heap_lock                    , PaddedMonitor, safepoint); // Doesn't safepoint check during termination.
>> 281:   def(JfieldIdCreation_lock        , PaddedMutex  , safepoint);  // jfieldID, Used in VM_Operation
> 
> Is "Used in VM_Operation" still true?

Nope, it's only used by JavaThreads in jni and jvmti (just checked) and not by the VMThread in a vm operation.

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

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


More information about the hotspot-dev mailing list