hotspot/src/share/vm/runtime/biasedLocking.cpp
static void clean_up_cached_monitor_info() {
{- -------------------------------------------
(1) 全 JavaThread 内の cached_monitor_info 情報 (キャッシュしておいた「使用中のロック情報」) を全てクリアするだけ.
---------------------------------------- -}
// Walk the thread list clearing out the cached monitors
for (JavaThread* thr = Threads::first(); thr != NULL; thr = thr->next()) {
thr->set_cached_monitor_info(NULL);
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.