hotspot/src/share/vm/runtime/thread.cpp
// Find the JVM_OnLoad entry point
static OnLoadEntry_t lookup_jvm_on_load(AgentLibrary* agent) {
{- -------------------------------------------
(1) (変数宣言など)
---------------------------------------- -}
const char *on_load_symbols[] = JVM_ONLOAD_SYMBOLS;
{- -------------------------------------------
(1) lookup_on_load() で, JVM_OnLoad() 関数のエントリポイントを (もし存在すれば) 探しだし,
結果をリターン.
---------------------------------------- -}
return lookup_on_load(agent, on_load_symbols, sizeof(on_load_symbols) / sizeof(char*));
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.