[lworld] Missed Ideal optimization around CmpL

XMLWordPrintable

      compiler/valhalla/inlinetypes/TestNewAcmp.java fails with -XX:-TieredCompilation -XX:VerifyIterativeGVN=1110

      Missed Ideal optimization (can_reshape=true):
      The node was reshaped by Ideal.
      The result after Ideal:
      dist dump
      ---------------------------------------------
         1 134 ConL === 0 [[ 150 ]] #long:0
         1 149 OrL === _ 147 194 [[ 150 ]] !jvms: TestNewAcmp::testEq08_2 @ bci:6 (line 208)
         0 150 CmpL === _ 149 134 [[ 154 ]] !jvms: TestNewAcmp::testEq08_2 @ bci:6 (line 208)

      igvn.worklist[0] 149 OrL === _ 147 194 [[ 150 ]] !jvms: TestNewAcmp::testEq08_2 @ bci:6 (line 208)
      igvn.worklist[1] 148 CastP2X === _ 67 [[ ]] !jvms: TestNewAcmp::testEq08_2 @ bci:6 (line 208)
      Previously optimized:
       150 CmpL === _ 149 134 [[ 154 ]] !jvms: TestNewAcmp::testEq08_2 @ bci:6 (line 208)

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S87235/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/027caaeb-2688-40da-b73d-bf9c1376a200/runs/07ad1dad-e0b9-40e5-bb99-154f951f439b/workspace/open/src/hotspot/share/opto/phaseX.cpp:1139), pid=3163386, tid=3163406
      # assert(false) failed: igvn worklist must still be empty after verify
      #
      # JRE version: Java(TM) SE Runtime Environment (27.0+1) (fastdebug build 27-valhalla+1-80)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-valhalla+1-80, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x1999205] PhaseIterGVN::verify_empty_worklist(Node*) [clone .part.0]+0x235

            Assignee:
            BenoƮt Maillard
            Reporter:
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: