Up Top

JNI の処理 : JNI Functions の処理 : ローカル参照/グローバル参照の処理(Global and Local References) : ローカル参照フレームの処理


該当する JNI 関数

概要(Summary)

PushLocalFrame() や PopLocalFrame() の処理は, JNIHandleBlock の確保/開放を行って Thread::_active_handles フィールドをつなぎ直すだけ (See: JNIHandleBlock).

処理の流れ (概要)(Execution Flows : Summary)

EnsureLocalCapacity() の処理

jni_EnsureLocalCapacity()

PushLocalFrame() の処理

jni_PushLocalFrame()
-> JNIHandleBlock::allocate_block()
-> JNIHandleBlock::set_pop_frame_link()
-> Thread::set_active_handles()

PopLocalFrame() の処理

jni_PopLocalFrame()
-> Thread::set_active_handles()
-> JNIHandleBlock::set_pop_frame_link()
-> JNIHandleBlock::release_block()

処理の流れ (詳細)(Execution Flows : Details)

jni_EnsureLocalCapacity()

See: here for details

jni_PushLocalFrame()

See: here for details

JNIHandleBlock::allocate_block()

See: here for details

JNIHandleBlock::set_pop_frame_link()

See: here for details

Thread::set_active_handles()

See: here for details

jni_PopLocalFrame()

See: here for details

JNIHandleBlock::release_block()

See: here for details


This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.