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

Compilation fails with assert(index < _size) failed: BitMap index out of bounds

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:

      Description

      java/lang/String/concat/StringConcatFactoryInvariants.java fails with:

      # Internal Error (/scratch/jprt/T/P1/075053.tohartma/s/hotspot/src/share/vm/utilities/bitMap.inline.hpp:33), pid=17784, tid=17928
      # assert(index < _size) failed: BitMap index out of bounds
      #

      Current CompileTask:
      C2: 35742 2945 b java.lang.String$Concat/2098657285::concat (37 bytes)

      Stack: [0x00007f836bbfc000,0x00007f836bcfd000], sp=0x00007f836bcf9770, free space=1013k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x13d4b85] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x155;; VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x155
      V [libjvm.so+0x13d58bf] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f;; VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0x95223d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd;; report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.so+0x103e741] MethodLiveness::BasicBlock::compute_gen_kill_range(ciBytecodeStream*)+0xab1;; MethodLiveness::BasicBlock::compute_gen_kill_range(ciBytecodeStream*)+0xab1
      V [libjvm.so+0x1044855] MethodLiveness::compute_liveness()+0x125;; MethodLiveness::compute_liveness()+0x125
      V [libjvm.so+0x7ace9c] ciMethod::liveness_at_bci(int)+0x1fc;; ciMethod::liveness_at_bci(int)+0x1fc
      V [libjvm.so+0xb88fd1] GraphKit::kill_dead_locals()+0xe1;; GraphKit::kill_dead_locals()+0xe1
      V [libjvm.so+0xb8b05d] GraphKit::uncommon_trap(int, ciKlass*, char const*, bool, bool)+0x27d;; GraphKit::uncommon_trap(int, ciKlass*, char const*, bool, bool)+0x27d
      V [libjvm.so+0x111af0b] Parse::do_one_block()+0x56b;; Parse::do_one_block()+0x56b
      V [libjvm.so+0x111b6a0] Parse::do_all_blocks()+0x50;; Parse::do_all_blocks()+0x50
      V [libjvm.so+0x111d444] Parse::Parse(JVMState*, ciMethod*, float)+0xc94;; Parse::Parse(JVMState*, ciMethod*, float)+0xc94
      V [libjvm.so+0x731380] ParseGenerator::generate(JVMState*)+0x160;; ParseGenerator::generate(JVMState*)+0x160
      V [libjvm.so+0x8c9e7c] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x101c;; Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x101c
      V [libjvm.so+0x72fa22] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2d2;; C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2d2
      V [libjvm.so+0x8d56b4] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x554;; CompileBroker::invoke_compiler_on_method(CompileTask*)+0x554
      V [libjvm.so+0x8d6d28] CompileBroker::compiler_thread_loop()+0x458;; CompileBroker::compiler_thread_loop()+0x458
      V [libjvm.so+0x133ecc9] JavaThread::thread_main_inner()+0x1c9;; JavaThread::thread_main_inner()+0x1c9
      V [libjvm.so+0x133ef26] JavaThread::run()+0x1c6;; JavaThread::run()+0x1c6
      V [libjvm.so+0x10c6b52] java_start(Thread*)+0xd2;; java_start(Thread*)+0xd2
      C [libpthread.so.0+0x7851]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: