-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: hotspot
Failed IR Rules (2) of Methods (2)
----------------------------------
1) Method "static int compiler.escapeAnalysis.TestRematerializeObjects.test1(boolean)" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#ALLOC_ARRAY#_", "1", "_#UNSTABLE_IF_TRAP#_", "1", "_#C#STORE_L_OF_CLASS#_", "int\\[int:4\\]", "1", "_#C#SAFEPOINT_SCALAROBJECT_OF#_", "fields@\\[0..3\\]", "0"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"EliminateAllocations", "false"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 3: "(\d+(\s){2}(StoreL.*)+(\s){2}===.*@\S*int\[int:4\](:|\+)\S* \*)"
- Failed comparison: [found] 0 = 1 [given]
- No nodes matched!
2) Method "static int compiler.escapeAnalysis.TestRematerializeObjects.test2(boolean)" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#ALLOC_ARRAY#_", "1", "_#UNSTABLE_IF_TRAP#_", "1", "_#C#STORE_I_OF_CLASS#_", "short\\[int:4\\]", "1", "_#C#SAFEPOINT_SCALAROBJECT_OF#_", "fields@\\[0..3\\]", "0"}, failOn={}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"EliminateAllocations", "false"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 3: "(\d+(\s){2}(StoreI.*)+(\s){2}===.*@\S*short\[int:4\](:|\+)\S* \*)"
- Failed comparison: [found] 0 = 1 [given]
- No nodes matched!
Looks like these IR tests want e.g. IRNode.STORE_L_OF_CLASS, "int\\[int:4\\]", "1",
- caused by
-
JDK-8370405 C2: mismatched store from MergeStores wrongly scalarized in allocation elimination
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/28437