RFR: 8369515: Deadlock between JVMTI and JNI ReleasePrimitiveArrayCritical [v2]
David Holmes
dholmes at openjdk.org
Fri Dec 19 01:55:32 UTC 2025
On Thu, 18 Dec 2025 09:20:06 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:
>> David Holmes has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>>
>> - Greatly simplifed fix to just defer object_deopt whilst in JNI critical region
>> - Merge branch 'master' into 8369515-jni-critical
>> - Revert "8369515"
>>
>> This reverts commit 3beb23ccbf5adb98d8c6ad404d40c603bbf499dc.
>> - 8369515
>
> Fixing deadlock issues caused by suspend requests can easily become quite messy, but not this time. I think it's an elegant solution, with a good explaining source code comment. Thank you!
Thanks for the reviews @fbredber and @pchilano !
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28779#issuecomment-3673102814
More information about the serviceability-dev
mailing list