JDK-8259482 : jni_Set/GetField_probe are the same as their _nh versions
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-01-08
  • Updated: 2021-01-19
  • Resolved: 2021-01-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17 b05Fixed
Related Reports
Relates :  
Relates :  
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.
Comments
Changeset: 23801da9 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2021-01-11 12:27:30 +0000 URL: https://git.openjdk.java.net/jdk/commit/23801da9
11-01-2021