Loading... (original) (raw)

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

Bug - A problem which impairs or prevents the functions of the product. JDK-8199886 gc/cslocker/TestCSLocker.java crashes