hotspot/src/share/vm/prims/jvmtiImpl.cpp
void
JvmtiAgentThread::start_function_wrapper(JavaThread *thread, TRAPS) {
{- -------------------------------------------
(1) (assert)
---------------------------------------- -}
// It is expected that any Agent threads will be created as
// Java Threads. If this is the case, notification of the creation
// of the thread is given in JavaThread::thread_main().
assert(thread->is_Java_thread(), "debugger thread should be a Java Thread");
assert(thread == JavaThread::current(), "sanity check");
{- -------------------------------------------
(1) JvmtiAgentThread::call_start_function() を呼び出すだけ.
---------------------------------------- -}
JvmtiAgentThread *dthread = (JvmtiAgentThread *)thread;
dthread->call_start_function();
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.