JDK 21 |
---|
21 b06Fixed |
Relates :
|
|
Relates :
|
Weak global jni handles are tagged so the GC can distinguish them when resolving the object. Today there is no cheap way of distinguishing global jni handles from local jni handles. For generational ZGC the OopStorage handles and the thread local handles semantical difference requires the handles to be distinguishable. This enhancements instruments the jni handles with a global tag similarly to the jweak tag.
|