JDK-8199868 : Support JNI critical functions in object pinning API
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-03-20
  • Updated: 2020-02-11
  • Resolved: 2018-07-31
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 12
12 b06Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
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.
Comments
11-shenandoah backport: http://hg.openjdk.java.net/shenandoah/jdk11/rev/88c7dab55e27 8-shenandoah backport: http://hg.openjdk.java.net/shenandoah/jdk8/hotspot/rev/89aa5f8d2152
11-02-2020