C2: Improve identical back-to-back if elimination

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 19
    • Affects Version/s: 18
    • Component/s: hotspot
    • b05

      The original back-to-back if optimization added by JDK-8143542 relies on using split-if to nicely fold the dominated (and to be removed) if away afterwards in IGVN. However, it does not handle data dependencies correctly which could lead to crashes in rare cases (JDK-8275610). The fix for JDK-8275610 simply disables JDK-8143542 if there are data dependencies involved. This RFE aims to improve the back-to-back if optimization to also work correctly with data dependencies.

            Assignee:
            Roland Westrelin
            Reporter:
            Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: