-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: hotspot
-
b24
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8373871 | 25.0.3 | Fei Yang | P4 | Resolved | Fixed | 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
- backported by
-
JDK-8373871 compiler/escapeAnalysis/TestRematerializeObjects.java fails in case of -XX:-UseUnalignedAccesses
-
- Resolved
-
- caused by
-
JDK-8370405 C2: mismatched store from MergeStores wrongly scalarized in allocation elimination
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk25u-dev/a32d181a
-
Commit(master)
openjdk/jdk/59d23095
-
Review(master)
openjdk/jdk25u-dev/82
-
Review(master)
openjdk/jdk/28171
(1 links to)