RFR: 8308745: ObjArrayKlass::allocate_objArray_klass may call into java while holding a lock

David Holmes dholmes at openjdk.org
Thu Mar 7 00:56:55 UTC 2024


On Thu, 7 Mar 2024 00:16:39 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Semaphore seemed simpler (?)
>
> OK.  It's a good thing HotSpot doesn't need to worry about priority-inheritance for mutexes.

Semaphore seems simpler/cleaner and ready to use.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17739#discussion_r1515343108


More information about the hotspot-dev mailing list