EnsureLocalCapacity
,PushLocalFrame
,PopLocalFrame
,PushLocalFrame() や PopLocalFrame() の処理は, JNIHandleBlock の確保/開放を行って Thread::_active_handles フィールドをつなぎ直すだけ (See: JNIHandleBlock).
jni_EnsureLocalCapacity()
jni_PushLocalFrame() -> JNIHandleBlock::allocate_block() -> JNIHandleBlock::set_pop_frame_link() -> Thread::set_active_handles()
jni_PopLocalFrame() -> Thread::set_active_handles() -> JNIHandleBlock::set_pop_frame_link() -> JNIHandleBlock::release_block()
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
See: here for details
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.