RFR: 8369515: Deadlock between JVMTI and JNI ReleasePrimitiveArrayCritical

Richard Reingruber rrich at openjdk.org
Tue Dec 16 13:01:50 UTC 2025


On Tue, 16 Dec 2025 11:31:11 GMT, David Holmes <dholmes at openjdk.org> wrote:

> So isn't a fix for this simply to skip blocking as per your PR:
> 
> ```
>  if (is_obj_deopt_suspend() && !in_critical()) {
> ```
> 
> irrespective of nesting and without any need for any of the changes I proposed?

Yes, I currently think so.
Testing so far is good. Don't have a reproducer yet for the deadlock.

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

PR Comment: https://git.openjdk.org/jdk/pull/28779#issuecomment-3660407119


More information about the serviceability-dev mailing list