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

C2: Improve identical back-to-back if elimination

XMLWordPrintable

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

            roland Roland Westrelin
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: