C2 MergeStores: move process_for_merge_stores_igvn after allocation elimination

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: hotspot

      We saw in JDK-8370405, that MergeStores introduces mismatched stores, and that prevents allocation removal.

      As a quick-fix, we could just move process_for_merge_stores_igvn to a later point.

      This would allow allocation elimination to have a chance to work. And if it still fails, we can still do MergeStores.

      Long-term, we might want to allow allocation elimination to deal with some mismatched stores.

      We might also want to refactor MergeStores and the eventual MergeLoads JDK-8345485 not to work with IGVN, and so work even later. But that is more work, and we can do that later.

            Assignee:
            Emanuel Peter
            Reporter:
            Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: