-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: hotspot
-
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
$ 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
- relates to
-
JDK-8370405 C2: mismatched store from MergeStores wrongly scalarized in allocation elimination
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/59d23095
-
Review(master)
openjdk/jdk/28171