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

C2 conditonal move optimization might create broken graph

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 10
    • 8, 9, 10
    • hotspot
    • b31
    • Verified

    Backports

      Description

        Attached test case fails with:

        # Internal Error (/home/rwestrel/aarch64-jdk8u-shenandoah/hotspot/src/share/vm/opto/loopnode.cpp:3579), pid=6922, tid=0x00007f4472cc4700
        # assert(false) failed: Bad graph detected in build_loop_late

        PhaseIdealLoop::conditional_move() creates a CMoveI node, updates the control of its inputs but not of a dependent data node. A following split thru phi leads to a broken graph.

        Attachments

          Issue Links

            Activity

              People

                roland Roland Westrelin
                roland Roland Westrelin
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: