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

Support JNI critical functions in object pinning API

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Description

      JDK-8199620 introduced pin_object() and unpin_object() in CollectedHeap to allow pinning instead of GCLocker protocol for GCs that might prefer that. However, it lacks support for JNI critical functions, which may have performance impact on native code that takes advantage of JNI critical functions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zgu Zhengyu Gu
                Reporter:
                rkennke Roman Kennke
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: