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

OptimizeFill misses some cases with an odd memory graph

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs19
    • Fix Version/s: hs19
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Not verified

      Backports

        Description

        The logic for the new OptimizeFill code misses a case where the Phi usage is different than expected. Sometimes during transformation of the loop there are uses of the memory phi outside the loop. This seems like a benign bug but it interferes with the fill matching logic that assumes the store in the loop should be the outgoing state. The fix is to allow the phi to be used outside the loop and replace it with the outgoing memory of the call to the fill.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: