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

Replay compilation fails with assert(is_valid()) failed: check invoke

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      Replay compilation with attached replay file replay_pid2967600.log fails since JDK-8271911:

      # Internal Error (/open/src/hotspot/share/interpreter/bytecode.cpp:122), pid=893400, tid=893401
      # assert(is_valid()) failed: check invoke
      #
      # JRE version: Java(TM) SE Runtime Environment (18.0+36) (fastdebug build 18+36-2087)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18+36-2087, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x733725] Bytecode_invoke::verify() const+0x285

      Stack: [0x00007f536c1e7000,0x00007f536c2e8000], sp=0x00007f536c2e68a0, free space=1022k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x733725] Bytecode_invoke::verify() const+0x285
      V [libjvm.so+0x99e4e9] CompileReplay::parse_cp_ref(JavaThread*)+0x5f9
      V [libjvm.so+0x99f216] CompileReplay::parse_klass(JavaThread*)+0x166
      V [libjvm.so+0x9a0b6c] CompileReplay::process_instanceKlass(JavaThread*)+0x1c
      V [libjvm.so+0x998d68] ciReplay::replay_impl(JavaThread*)+0xcd8
      V [libjvm.so+0x998e8f] ciReplay::replay(JavaThread*)+0xf
      V [libjvm.so+0x1045eb8] JNI_CreateJavaVM+0x5c8
      C [libjli.so+0x3aef] JavaMain+0x8f
      C [libjli.so+0x7aa9] ThreadJavaMain+0x9

      I also attached the required jar files from Lucene but the issue reproduces without them.

      Workaround:

      sed '/@bci/d' replay_pid2967600.log > new_replay

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dlong Dean Long
              Reporter:
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: