RFR: 8308745: ObjArrayKlass::allocate_objArray_klass may call into java while holding a lock [v2]
Dean Long
dlong at openjdk.org
Thu Mar 7 02:11:01 UTC 2024
On Thu, 7 Mar 2024 01:38:56 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This change creates a new sort of native recursive lock that can be held during JNI and Java calls, which can be used for synchronization while creating objArrayKlasses at runtime.
>>
>> Passes tier1-7.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Dean's comments.
> Does a PlatformMutex handle priority-inheritance?
It would depend on the OS and the mutex impementation. You can ignore my comment. It was from long ago trying to put Java on top of a real-time OS.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17739#issuecomment-1982207873
More information about the serviceability-dev
mailing list