Have instanceRefKlass use HeapAccess when loading the referent

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 11
    • Component/s: hotspot
    • None
    • gc
    • b18

        To support concurrent reference processing in ZGC, instanceRefKlass::try_discover() can no longer use RawAccess to load the referent field. Instead it should use

          HeapAccess<ON_PHANTOM_OOP_REF | AS_NO_KEEPALIVE>

        or

          HeapAccess<ON_WEAK_OOP_REF | AS_NO_KEEPALIVE>

        depending on the reference type.

              Assignee:
              Per Liden (Inactive)
              Reporter:
              Per Liden (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: