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

OptimizeFill misses some cases with an odd memory graph

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs19
    • hs19
    • hotspot
    • None
    • b07
    • sparc
    • solaris_9
    • Not verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: