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

Refactor weak references in JvmtiTagHashmap to use the Access API

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b01

      Description

      The JVMTI tag hashmap has weak oop references that are handled using raw oop accesses and a G1-specific SATB enqueue call when leaking out objects from the tag map, requiring them to be marked as live by G1.

      This should now be refactored to use the Access API to annotate that these are ON_PHANTOM_OOP_REF, and refactor the raw oop loads to use AS_NO_KEEPALIVE

        Attachments

          Activity

            People

            • Assignee:
              eosterlund Erik Ă–sterlund
              Reporter:
              eosterlund Erik Ă–sterlund
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: