hotspot/src/share/vm/runtime/thread.cpp
// Enqueue a VM_Operation to do the job for us - sometime later
void Thread::send_async_exception(oop java_thread, oop java_throwable) {
{- -------------------------------------------
(1) VM_ThreadStop を使って, 処理対象のスレッド内で指定された例外を発生させる.
---------------------------------------- -}
VM_ThreadStop* vm_stop = new VM_ThreadStop(java_thread, java_throwable);
VMThread::execute(vm_stop);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.