Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8320909

C2: Adapt IGVN's enqueuing logic to match idealization of AndNode with LShift operand

XMLWordPrintable

    • master

      while java -XX:CompileCommand=quiet -XX:CompileCommand=compileonly,*Test*::* -XX:-TieredCompilation -Xcomp -XX:+StressIGVN -XX:VerifyIterativeGVN=10 Test.java; do :; done;

      Missed Value optimization:
      dist dump
      ---------------------------------------------
         1 272 Phi === 523 88 34 [[ 386 550 276 376 319 366 548 408 410 571 ]] #int:-4..0 !orig=[397] !jvms: Test::vMeth @ bci:85 (line 118)
         1 415 IfFalse === 413 [[ 522 548 ]] #0 !orig=439 !jvms: Test::vMeth @ bci:143 (line 127)
         0 548 CastII === 415 272 [[ 547 ]] #int:-4..0 unconditional dependency
      Current type:
      int:-4..0
      Optimized type:
      int:-1

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (workspace/open/src/hotspot/share/opto/phaseX.cpp:1088), pid=1856529, tid=1856543
      # assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0+26) (fastdebug build 22-ea+26-2075)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+26-2075, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x1511dbd] PhaseIterGVN::verify_optimize() [clone .part.0]+0x59d

        1. FuzzerUtils.java
          13 kB
        2. Test.java
          8 kB
        3. TestSimple.java
          0.5 kB
        4. Reduced2.java
          0.6 kB
        5. Test3.java
          9 kB
        6. Reduced3.java
          0.6 kB

            mchevalier Marc Chevalier
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: