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

Assert in vmIntrinsics::flags_for with -XX:+Verbose

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Introduced In Build:
      b21
    • Introduced In Version:
      16
    • Resolved In Build:
      b25

      Description

      Running java -XX:+Verbose -Xcomp -XX:+PrintInlining asserts:

      # Internal Error (/oracle/jdk/open/src/hotspot/share/classfile/vmIntrinsics.cpp:747), pid=385916, tid=385935
      # Error: assert((((((( jlong)(1023) + ((jlong)(1022) << vmSymbols::log2_SID_LIMIT) + ((jlong)(1021) << (2*vmSymbols::log2_SID_LIMIT)) ) << vmIntrinsics::log2_FLAG_LIMIT) | (jlong) (15)) >> shift) & mask) == 15) failed

      Current CompileTask:
      C2: 752 29 20 163 4 java.io.DataInputStream::readUTF (501 bytes)

      Stack: [0x00007f7dc5e2f000,0x00007f7dc5f30000], sp=0x00007f7dc5f2aae0, free space=1006k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1230091] vmIntrinsics::flags_for(vmIntrinsics::ID)+0x51
      V [libjvm.so+0x122fda0] vmIntrinsics::short_name_as_C_string(vmIntrinsics::ID, char*, int)+0x74
      V [libjvm.so+0xd899cb] LibraryIntrinsic::generate(JVMState*)+0xdb
      V [libjvm.so+0x8bd370] Parse::do_call()+0xb9a
      V [libjvm.so+0xfd9718] Parse::do_one_bytecode()+0x458c
      V [libjvm.so+0xfc7952] Parse::do_one_block()+0x4dc
      V [libjvm.so+0xfc3d2d] Parse::do_all_blocks()+0x3b7
      V [libjvm.so+0xfc3876] Parse::Parse(JVMState*, ciMethod*, float)+0xff2
      V [libjvm.so+0x67c578] ParseGenerator::generate(JVMState*)+0xfc
      V [libjvm.so+0x8bd370] Parse::do_call()+0xb9a
      V [libjvm.so+0xfd9718] Parse::do_one_bytecode()+0x458c
      V [libjvm.so+0xfc7952] Parse::do_one_block()+0x4dc
      V [libjvm.so+0xfc3d2d] Parse::do_all_blocks()+0x3b7
      V [libjvm.so+0xfc3876] Parse::Parse(JVMState*, ciMethod*, float)+0xff2
      V [libjvm.so+0x67c578] ParseGenerator::generate(JVMState*)+0xfc
      V [libjvm.so+0x67e5c9] PredictedCallGenerator::generate(JVMState*)+0x40f
      V [libjvm.so+0x8bd370] Parse::do_call()+0xb9a
      V [libjvm.so+0xfd9718] Parse::do_one_bytecode()+0x458c
      V [libjvm.so+0xfc7952] Parse::do_one_block()+0x4dc
      V [libjvm.so+0xfc3d2d] Parse::do_all_blocks()+0x3b7
      V [libjvm.so+0xfc3876] Parse::Parse(JVMState*, ciMethod*, float)+0xff2
      V [libjvm.so+0x67c578] ParseGenerator::generate(JVMState*)+0xfc
      V [libjvm.so+0x8bd370] Parse::do_call()+0xb9a
      V [libjvm.so+0xfd9718] Parse::do_one_bytecode()+0x458c
      V [libjvm.so+0xfc7952] Parse::do_one_block()+0x4dc
      V [libjvm.so+0xfc3d2d] Parse::do_all_blocks()+0x3b7
      V [libjvm.so+0xfc3876] Parse::Parse(JVMState*, ciMethod*, float)+0xff2
      V [libjvm.so+0x67c578] ParseGenerator::generate(JVMState*)+0xfc
      V [libjvm.so+0x780d3d] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0xea9
      V [libjvm.so+0x67a805] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x11f
      V [libjvm.so+0x79cb07] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x895
      V [libjvm.so+0x79b793] CompileBroker::compiler_thread_loop()+0x3df
      V [libjvm.so+0x1195296] compiler_thread_entry(JavaThread*, Thread*)+0x69
      V [libjvm.so+0x1190f76] JavaThread::thread_main_inner()+0x14c
      V [libjvm.so+0x1190e22] JavaThread::run()+0x11e
      V [libjvm.so+0x118d2fc] Thread::call_run()+0x180
      V [libjvm.so+0xf90a64] thread_native_entry(Thread*)+0x1e4

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iklam Ioi Lam
              Reporter:
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: