Support JNI critical functions in object pinning API

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 12
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • gc
    • b06
    • generic
    • generic

      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.

            Assignee:
            Zhengyu Gu
            Reporter:
            Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: