RFR: 8369515: Deadlock between JVMTI and JNI ReleasePrimitiveArrayCritical
Richard Reingruber
rrich at openjdk.org
Tue Dec 16 08:31:54 UTC 2025
On Tue, 16 Dec 2025 01:05:58 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > I do think that also entering a critical region is problematic if it is nested.
>
> Isn't nesting critical regions against the rules of using critical regions?
For arrays it's explicitly allowed in the specification. There's also an example how to do it properly :)
I'll see if I can implement a reproducer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28779#issuecomment-3659373705
More information about the serviceability-dev
mailing list