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

VM crashes while generating replay compilation file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31

      Description

      Enabling the DumpReplay compiler control option crashes the VM (see attached hs_err files).

      # SIGSEGV (0xb) at pc=0x00007f56db809746, pid=10188, tid=10217

      Stack: [0x00007f56b0083000,0x00007f56b0184000], sp=0x00007f56b0180bc8, free space=1014k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libc.so.6+0x8b746] strlen+0x26
      V [libjvm.so+0xe776cf] InstanceKlass::do_local_static_fields(FieldClosure*)+0x17f
      V [libjvm.so+0x91786c] ciInstanceKlass::dump_replay_data(outputStream*)+0x4ac
      V [libjvm.so+0x904a13] ciEnv::dump_replay_data_unsafe(outputStream*)+0x143
      V [libjvm.so+0x904cf7] ciEnv::dump_replay_data(outputStream*)+0x1b7
      V [libjvm.so+0x905023] ciEnv::dump_replay_data(int)+0xb3
      V [libjvm.so+0xa9db35] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x16a5
      V [libjvm.so+0x8a0af2] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2f2
      V [libjvm.so+0xaaa462] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x502
      V [libjvm.so+0xaab928] CompileBroker::compiler_thread_loop()+0x4b8
      V [libjvm.so+0x16a401e] JavaThread::thread_main_inner()+0x24e
      V [libjvm.so+0x13e919a] thread_native_entry(Thread*)+0xfa
      C [libpthread.so.0+0x76ba] start_thread+0xca


      # SIGSEGV (0xb) at pc=0x00007f7b9ee004f1, pid=12027, tid=12055

      Stack: [0x00007f7b6819d000,0x00007f7b6829e000], sp=0x00007f7b6829ad20, free space=1015k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x7574f1] InlineTree::dump_replay_data(outputStream*)+0x101
      V [libjvm.so+0x9047f9] ciEnv::dump_compile_data(outputStream*)+0x349
      V [libjvm.so+0x904a6b] ciEnv::dump_replay_data_unsafe(outputStream*)+0x19b
      V [libjvm.so+0x904cf7] ciEnv::dump_replay_data(outputStream*)+0x1b7
      V [libjvm.so+0x905023] ciEnv::dump_replay_data(int)+0xb3
      V [libjvm.so+0xa9daf5] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x16a5
      V [libjvm.so+0x8a0af2] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2f2
      V [libjvm.so+0xaaa422] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x502
      V [libjvm.so+0xaab8e8] CompileBroker::compiler_thread_loop()+0x4b8
      V [libjvm.so+0x16a3fde] JavaThread::thread_main_inner()+0x24e
      V [libjvm.so+0x13e915a] thread_native_entry(Thread*)+0xfa
      C [libpthread.so.0+0x76ba] start_thread+0xca

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thartmann Tobias Hartmann
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: