Loading... (original) (raw)
- Type:
Enhancement
- Resolution: Fixed
- Priority:
P4
- Fix Version/s: 11
- Affects Version/s: None
Currently, the Get/Release*Critical() family of functions use the GCLocker protocol to ensure that no JNI critical arrays are in use when a GC pause is entered.
Some GCs may instead want to use object pinning and guarantee that the object does not move. For example, this is easy to do with region-based GCs (G1, Shenandoah, ZGC) by simply not including regions with pinned objects in the collection set.
relates to
JDK-8199886 gc/cslocker/TestCSLocker.java crashes
- Resolved