Description
The jni_SetField_probe_nh functions used to be called by JNI_QUICK_ENTRY that disallowed Handles, but JNI_QUICK_ENTRY was removed so that they do allow handles (and Handles are fine because JNI_ENTRY puts the thread in vm mode, which stops for safepoints).
Remove the _nh versions. I didn't see this when I removed the ResetNoHandleMarks and comments in these functions.
Remove the _nh versions. I didn't see this when I removed the ResetNoHandleMarks and comments in these functions.
Attachments
Issue Links
- relates to
-
JDK-8228758 assert(_no_handle_mark_nesting == 0) failed: allocating handle inside NoHandleMark
-
- Resolved
-
-
JDK-8259375 JvmtiExport::jni_Get/SetField_probe calls do not need ResetNoHandleMark
-
- Resolved
-