JDK-8361166 : [lworld] TestG1BarrierGeneration still fails after JDK-8343420
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: In Progress
  • Resolution: Unresolved
  • Submitted: 2025-07-01
  • Updated: 2025-07-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaUnresolved
Related Reports
Relates :  
Description
JDK-8343420 un-problem-listed TestG1BarrierGeneration but it still fails:

-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation

One or more @IR rules failed:

Failed IR Rules (2) of Methods (2)
----------------------------------
1) Method "public static void compiler.gcbarriers.TestG1BarrierGeneration.testArrayStore(java.lang.Object[],int,java.lang.Object)" - [Failed IR rules: 1]:
   * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#G1_STORE_P_WITH_BARRIER_FLAG#_", "pre post", "1"}, applyIfPlatformOr={}, failOn={}, applyIfPlatform={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"UseCompressedOops", "false"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
     > Phase "Final Code":
       - counts: Graph contains wrong number of nodes:
         * Constraint 1: "(\\d+(\\s){2}(g1StoreP\\S*.*)+(\\s){2}===.*barrier\\(\\s*pre post\\s*\\))"
           - Failed comparison: [found] 0 = 1 [given]
           - No nodes matched!

2) Method "public static void compiler.gcbarriers.TestG1BarrierGeneration.testArrayStoreTwice(java.lang.Object[],java.lang.Object[],int,java.lang.Object)" - [Failed IR rules: 1]:
   * @IR rule 1: "@compiler.lib.ir_framework.IR(phase={FINAL_CODE}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#C#G1_STORE_P_WITH_BARRIER_FLAG#_", "pre post", "2"}, applyIfPlatformOr={}, failOn={}, applyIfPlatform={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"UseCompressedOops", "false"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
     > Phase "Final Code":
       - counts: Graph contains wrong number of nodes:
         * Constraint 1: "(\\d+(\\s){2}(g1StoreP\\S*.*)+(\\s){2}===.*barrier\\(\\s*pre post\\s*\\))"
           - Failed comparison: [found] 0 = 2 [given]
           - No nodes matched!
Comments
A pull request was submitted for review. Branch: lworld URL: https://git.openjdk.org/valhalla/pull/1502 Date: 2025-07-04 14:40:37 +0000
07-07-2025

I'm problem listing this test with https://github.com/openjdk/valhalla/pull/1494.
01-07-2025

Damon, please have a look.
01-07-2025