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

C2: Support ReachabilityFence with constant referent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 26
    • hotspot

      Due to performance considerations, JDK-8290892 eliminates ReachabilityFence (RF) nodes with constant referent. (There's PreserveReachabilityFencesOnConstants diagnostic flag to keep the RF node, but it is turned off by default).

      There's a more efficient way to support RF with constant referent which relies on nmethod dependencies machinery. OOPs embedded in nmethods are treated as weak reference, so when an OOP is GCed corresponding method is invalidated and such behavior satisfies ReachabilityFence contract.

            Unassigned Unassigned
            vlivanov Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: