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

GetStackTraceClosure might be executed on VMThread but allocating stack local

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • repo-loom
    • repo-loom
    • hotspot

    Description

      Test runtime/clinit/ClassInitBarrier.java might fails with wrapper.

      The stack:
      V [libjvm.so+0x11dea09] java_lang_Thread::async_get_stack_trace(oop, Thread*)::GetStackTraceClosure::do_thread(Thread*)+0x49
      V [libjvm.so+0x10ab18a] HandshakeOperation::do_handshake(JavaThread*)+0x4a
      V [libjvm.so+0x10ab9bd] HandshakeState::try_process(HandshakeOperation*)+0x1dd
      V [libjvm.so+0x10acb96] VM_HandshakeAllThreads::doit()+0x1e6
      V [libjvm.so+0x1cdd26a] VM_Operation::evaluate()+0x18a
      V [libjvm.so+0x1d02ccf] VMThread::evaluate_operation(VM_Operation*)+0x17f
      V [libjvm.so+0x1d03c6c] VMThread::inner_execute(VM_Operation*)+0x17c
      V [libjvm.so+0x1d03f25] VMThread::loop()+0xb5
      V [libjvm.so+0x1d0405a] VMThread::run()+0xca
      V [libjvm.so+0x1c03210] Thread::call_run()+0x100
      V [libjvm.so+0x18d8666] thread_native_entry(Thread*)+0x116

      Attachments

        Activity

          People

            Unassigned Unassigned
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: