hotspot/src/share/vm/runtime/interfaceSupport.hpp
~ThreadInVMfromUnknown() {
{- -------------------------------------------
(1) もしコンストラクタで実際に状態変更処理を行っていれば (= _thread フィールドが空でなければ),
ThreadStateTransition::transition_and_fence() を呼んで, JavaThreadState を _thread_in_native に戻す.
---------------------------------------- -}
if (_thread) {
ThreadStateTransition::transition_and_fence(_thread, _thread_in_vm, _thread_in_native);
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.