compiler/escapeAnalysis/TestRematerializeObjects.java fails in case of -XX:-UseUnalignedAccesses

XMLWordPrintable

    • master

      Execute on platforms where UseUnalignedAccesses is false:

      $ make test TEST="compiler/escapeAnalysis/TestRematerializeObjects.java"

      Two IR rules failed under -XX:-EliminateAllocations on platforms with -XX:-UseUnalignedAccesses.
      These are expecting MergeStores to emit StoreL or StoreI. But the enablement of MergeStores depends
      on flag UseUnalignedAccesses [1]. So we need to add that condition to applyIf of the two IR rules.

      [1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/memnode.cpp#L3455

            Assignee:
            Fei Yang
            Reporter:
            Fei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: