hotspot/src/share/vm/prims/jvm.cpp
static void thread_entry(JavaThread* thread, TRAPS) {
{- -------------------------------------------
(1) (変数宣言など)
---------------------------------------- -}
HandleMark hm(THREAD);
Handle obj(THREAD, thread->threadObj());
JavaValue result(T_VOID);
{- -------------------------------------------
(1) JavaCalls::call_virtual() で. java.lang.Thread.run() メソッドを呼び出す.
---------------------------------------- -}
JavaCalls::call_virtual(&result,
obj,
KlassHandle(THREAD, SystemDictionary::Thread_klass()),
vmSymbols::run_method_name(),
vmSymbols::void_method_signature(),
THREAD);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.