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.
This enhancements instruments the jni handles with a global tag similarly to the jweak tag.
- relates to
-
JDK-8301402 os::print_location gets is_global_handle assert
- Resolved
-
JDK-8339416 [s390x] Provide implementation for resolve_global_jobject
- Resolved