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

Have instanceRefKlass use HeapAccess when loading the referent

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • 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.

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

                Created:
                Updated:
                Resolved: