src/hotspot/share/runtime/thread.cpp
changeset 59325 3636bab5e81e
parent 59259 127ca611f19b
equal deleted inserted replaced
59324:5e8f9713e343 59325:3636bab5e81e
   522     }
   522     }
   523     os::start_thread(thread);
   523     os::start_thread(thread);
   524   }
   524   }
   525 }
   525 }
   526 
   526 
   527 // Enqueue a VM_Operation to do the job for us - sometime later
       
   528 void Thread::send_async_exception(oop java_thread, oop java_throwable) {
   527 void Thread::send_async_exception(oop java_thread, oop java_throwable) {
   529   VM_ThreadStop* vm_stop = new VM_ThreadStop(java_thread, java_throwable);
   528   VM_ThreadStop vm_stop(java_thread, java_throwable);
   530   VMThread::execute(vm_stop);
   529   VMThread::execute(&vm_stop);
   531 }
   530 }
   532 
   531 
   533 
   532 
   534 // Check if an external suspend request has completed (or has been
   533 // Check if an external suspend request has completed (or has been
   535 // cancelled). Returns true if the thread is externally suspended and
   534 // cancelled). Returns true if the thread is externally suspended and