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

C2: Improve ReachabilityFence elimination

XMLWordPrintable

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

      As part of reachability fence support in C2, JDK-8290892 introduces ReachabilityFence (RF) node elimination step after loop optimizations are over. RF elimination transfers reachability edges from RF node to interfering safepoints and it uses dominator information produced by PhaseIdealLoop.
      PhaseIdealLoop construction is expensive, so it's worth to avoid its construction whenever possible.

      Possible ways to improve the situation:
        (1) piggyback on existing PhaseIdealLoop pass and eliminate RFs as the very end of the last pass of loop optimizations;
        (2) reimplement RF elimination without relying on PhaseIdealLoop (may be performed on Mach IR once code motion pass is over);

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

              Created:
              Updated: