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

failed: same CodeEmitInfo used for multiple LIR instructions

    XMLWordPrintable

Details

    • b03
    • generic
    • generic

    Description

      A DESCRIPTION OF THE PROBLEM :
      Similar to JDK-8195776, under JDK8, the JVM crashes when using the option ImplicitDiv0Checks

      Reproduce: java -Xcomp -XX:-ImplicitDiv0Checks -version

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/jiahx/jdk_source/jdk8u/hotspot/src/share/vm/c1/c1_LinearScan.cpp:2461), pid=70128, tid=0x00007f53b2656700
      # assert(info->_oop_map == oop_map) failed: same CodeEmitInfo used for multiple LIR instructions
      #
      # JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-fastdebug-user_2022_03_11_16_03-b00)
      # Java VM: OpenJDK 64-Bit Server VM (25.71-b00-fastdebug compiled mode linux-amd64 compressed oops)
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      --------------- T H R E A D ---------------

      Current thread (0x00007f54a022e800): JavaThread "C1 CompilerThread13" daemon [_thread_in_native, id=70225, stack(0x00007f53b2557000,0x00007f53b2657000)]

      Stack: [0x00007f53b2557000,0x00007f53b2657000], sp=0x00007f53b2654ab0, free space=1014k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x121fcac] VMError::report_and_die()+0x2ec
      V [libjvm.so+0x797f81] report_vm_error(char const*, int, char const*, char const*)+0x61
      V [libjvm.so+0x542a14] LinearScan::compute_oop_map(IntervalWalker*, LIR_OpVisitState const&, LIR_Op*)+0x94
      V [libjvm.so+0x54b724] LinearScan::assign_reg_num(LIR_OpList*, IntervalWalker*)+0x274
      V [libjvm.so+0x54bba3] LinearScan::assign_reg_num()+0x163
      V [libjvm.so+0x554f0d] LinearScan::do_linear_scan()+0x1dd
      V [libjvm.so+0x49e7cf] Compilation::emit_lir()+0xa4f
      V [libjvm.so+0x4a1090] Compilation::compile_java_method()+0x700
      V [libjvm.so+0x4a15da] Compilation::compile_method()+0x7a
      V [libjvm.so+0x4a1dbe] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*)+0x3ae
      V [libjvm.so+0x4a28ef] Compiler::compile_method(ciEnv*, ciMethod*, int)+0x18f
      V [libjvm.so+0x70bdf2] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x8b2
      V [libjvm.so+0x70d3e0] CompileBroker::compiler_thread_loop()+0x710
      V [libjvm.so+0x118b188] JavaThread::thread_main_inner()+0x1c8
      V [libjvm.so+0x118b54d] JavaThread::run()+0x37d
      V [libjvm.so+0xf19ca2] java_start(Thread*)+0x102
      C [libpthread.so.0+0x76db] start_thread+0xdb


      Current CompileTask:
      C1: 1099 34 s b 3 java.util.Hashtable::get (69 bytes)


      FREQUENCY : always


      Attachments

        1. hs_err_pid18696.log
          12 kB
          swati sharma
        2. replay_pid18696.log
          77 kB
          swati sharma

        Issue Links

          Activity

            People

              dskantz Daniel Skantz
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: