-
Bug
-
Resolution: Fixed
-
P4
-
17, 20, 21, 22
-
b04
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8312892 | 21.0.1 | Tobias Hartmann | P4 | Resolved | Fixed | b04 |
JDK-8311629 | 21 | Tobias Hartmann | P4 | Resolved | Fixed | b31 |
The IR framework currently whitelists UseTLAB and as a result, IR verification is enabled even if TLAB allocations are disabled which can lead to failures (because the IR differs).
SinceJDK-8310187, test/hotspot/jtreg/compiler/gcbarriers/TestZGCBarrierElision.java fails in compiler stress testing (stress-comp-no-tlab) with -XX:-UseTLAB:
Failed IR Rules (4) of Methods (4)
----------------------------------
1) Method "static void compiler.gcbarriers.TestZGCEffectiveBarrierElision.testAllocateArrayThenStoreAtKnownIndex(compiler.gcbarriers.Outer)" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, phase={FINAL_CODE}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"_#C#Z_STORE_P_WITH_BARRIER_FLAG#_", "elided", "1"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "Final Code":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(zStoreP\\S*.*)+(\\s){2}===.*barrier\\(\\s*elided\\s*\\))"
- Failed comparison: [found] 0 = 1 [given]
- No nodes matched!
[...]
Since
Failed IR Rules (4) of Methods (4)
----------------------------------
1) Method "static void compiler.gcbarriers.TestZGCEffectiveBarrierElision.testAllocateArrayThenStoreAtKnownIndex(compiler.gcbarriers.Outer)" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, phase={FINAL_CODE}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"_#C#Z_STORE_P_WITH_BARRIER_FLAG#_", "elided", "1"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
> Phase "Final Code":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(zStoreP\\S*.*)+(\\s){2}===.*barrier\\(\\s*elided\\s*\\))"
- Failed comparison: [found] 0 = 1 [given]
- No nodes matched!
[...]
- backported by
-
JDK-8311629 IR framework should not whitelist -XX:-UseTLAB
- Resolved
-
JDK-8312892 IR framework should not whitelist -XX:-UseTLAB
- Resolved
- relates to
-
JDK-8310187 Improve Generational ZGC jtreg testing
- Resolved
- links to
-
Commit openjdk/jdk21/2d7ed189
-
Commit openjdk/jdk/31dcda5d
-
Review openjdk/jdk21/104
-
Review openjdk/jdk/14583
(2 links to)