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

C2 compilation fails with assert(is_power_of_2(value)) failed: value must be a power of 2: 8000000000000000

XMLWordPrintable

    • b04

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (workspace/open/src/hotspot/share/utilities/powerOfTwo.hpp:76), pid=12387, tid=12403
      # assert(is_power_of_2(value)) failed: value must be a power of 2: 8000000000000000

      Current CompileTask:
      C2: 417 1 compiler.c2.TestBitSetAndReset::test63 (21 bytes)

      Stack: [0x00007f35716ff000,0x00007f3571800000], sp=0x00007f35717fae50, free space=1007k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x3825bf] btrL_mem_immNode::emit(CodeBuffer&, PhaseRegAlloc*) const+0x2af
      V [libjvm.so+0x15c672a] PhaseOutput::scratch_emit_size(Node const*)+0x3fa
      V [libjvm.so+0x15bd5dc] PhaseOutput::shorten_branches(unsigned int*)+0x2ac
      V [libjvm.so+0x15cf1ca] PhaseOutput::Output()+0xcda
      V [libjvm.so+0xa0f308] Compile::Code_Gen()+0x438
      V [libjvm.so+0xa1a7a7] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1917
      V [libjvm.so+0x84a10c] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1dc
      V [libjvm.so+0xa2a5a8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xe88
      V [libjvm.so+0xa2b218] CompileBroker::compiler_thread_loop()+0x5a8
      V [libjvm.so+0x18be216] JavaThread::thread_main_inner()+0x256
      V [libjvm.so+0x18c4c20] Thread::call_run()+0x100
      V [libjvm.so+0x15a7476] thread_native_entry(Thread*)+0x116

            redestad Claes Redestad
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: