Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8259482

jni_Set/GetField_probe are the same as their _nh versions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b05

      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.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: