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

Loop Strip Mining has some leftover debugging code

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b40

      Backports

        Description

        In PhaseIdealLoop::create_outer_strip_mined_loop():

                    while (be->is_Store() && old_new[be->_idx] != NULL) {
                      ShouldNotReachHere();
                      be = be->in(MemNode::Memory);
                    }

        and
                  while (be->is_Store() && old_new[be->_idx] != NULL) {
                    ShouldNotReachHere();
                    be = be->in(MemNode::Memory);
                  }

        This code would trigger with sunk stores and stores on backedge. I couldn't trigger it with a test case and it wasn't caught by testing. Still, if this happens in the wild it would cause a crash.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: