hotspot/src/share/vm/memory/referenceProcessor.cpp
// Update the discovered field.
inline void update_discovered() {
{- -------------------------------------------
(1) コンストラクタ引数で渡された KeepAlive クロージャーを呼び出すだけ.
---------------------------------------- -}
// First _prev_next ref actually points into DiscoveredList (gross).
if (UseCompressedOops) {
_keep_alive->do_oop((narrowOop*)_prev_next);
} else {
_keep_alive->do_oop((oop*)_prev_next);
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.