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

C2: Improve identical back-to-back if elimination

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 19
    • hotspot
    • b05

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: