Compile::has_loops not always set correctly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • hs12
    • Affects Version/s: 7
    • Component/s: hotspot
    • None
    • b02
    • sparc
    • solaris_9
    • Not verified

        C2 estimates of whether a compile has loops by calling has_loops() on the root of the compile but not on any inlinees. This means that inlining something with loops into something without loops might result in loop opts not being run. Sometimes it will be run anyway because we have split_ifs but it certainly should take inlinees into account.

              Assignee:
              Tom Rodriguez
              Reporter:
              Tom Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: