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

C2 compilation still fails with "bad AD file"

XMLWordPrintable

    • b24

        Even with the fix for JDK-8314191, we still see the same failure:

        java -Xcomp -XX:CompileCommand=compileonly,Test::* -XX:-TieredCompilation -XX:-UseLoopPredicate Test.java

        o181 CountedLoopEnd === o180 o202 o201 [[ o182 o183 27 ]] [gt] P=0,900000, C=-1,000000

        --N: o181 CountedLoopEnd === o180 o202 o201 [[ o182 o183 27 ]] [gt] P=0,900000, C=-1,000000

           --N: o202 Bool === _ o201 [[ o181 ]] [gt]
           CMPOP 0 CMPOP
           CMPOPU 0 CMPOPU
           CMPOPUCF 0 CMPOPUCF

           --N: o201 CmpU === _ o10 o11 [[ o202 o181 ]]
           RFLAGSREGU 100 compU_rReg

              --N: o10 Parm === o3 [[ o164 o46 o282 o201 o194 o85 o171 o173 ]] Parm0: int
              RREGI 0 RREGI
              RAX_REGI 0 RAX_REGI
              RBX_REGI 0 RBX_REGI
              RCX_REGI 0 RCX_REGI
              RDX_REGI 0 RDX_REGI
              RDI_REGI 0 RDI_REGI
              NO_RAX_RDX_REGI 0 NO_RAX_RDX_REGI
              NO_RBP_R13_REGI 0 NO_RBP_R13_REGI
              STACKSLOTI 100 storeSSI

              --N: o11 Parm === o3 [[ o145 o121 o102 o201 o46 o356 11 ]] Parm1: int
              RREGI 0 RREGI
              RAX_REGI 0 RAX_REGI
              RBX_REGI 0 RBX_REGI
              RCX_REGI 0 RCX_REGI
              RDX_REGI 0 RDX_REGI
              RDI_REGI 0 RDI_REGI
              NO_RAX_RDX_REGI 0 NO_RAX_RDX_REGI
              NO_RBP_R13_REGI 0 NO_RBP_R13_REGI
              STACKSLOTI 100 storeSSI

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S182890/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ee8091e4-76ff-4dc6-9579-9aa04624063d/runs/9396d582-a195-4809-ad29-8d156225a827/workspace/open/src/hotspot/share/opto/matcher.cpp:1724), pid=1214791, tid=1214805
        # assert(false) failed: bad AD file
        #
        # JRE version: Java(TM) SE Runtime Environment (22.0+17) (fastdebug build 22-ea+17-1281)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+17-1281, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x135a378] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x508

          1. graph.png
            graph.png
            19 kB
          2. Test.java
            0.4 kB

              qamai Quan Anh Mai
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: