On Tue, 6 Feb 2024 22:59:04 GMT, Coleen Phillimore <cole...@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.

src/hotspot/share/oops/instanceKlass.cpp line 2765:

> 2763:     // To get a consistent list of classes we need MultiArray_lock to 
> ensure
> 2764:     // array classes aren't observed while they are being restored.
> 2765:     MutexLocker ml(MultiArray_lock);

Doesn't this revert JDK-8274338?

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

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

Reply via email to