Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8299089

Instrument global jni handles with tag to make them distinguishable

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 21
    • 21
    • hotspot
    • None
    • gc
    • b06

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              aboldtch Axel Boldt-Christmas
              aboldtch Axel Boldt-Christmas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: