hotspot/src/share/vm/services/lowMemoryDetector.hpp
size_t set_low_threshold(size_t new_threshold) {
{- -------------------------------------------
(1) _low_threshold フィールドの値を, 引数で指定された値に更新するだけ.
(返値として, 更新前の _low_threshold フィールドの値をリターンする)
---------------------------------------- -}
assert(_support_low_threshold, "can only be set if supported");
assert(new_threshold <= _high_threshold, "new_threshold must be <= _high_threshold");
size_t prev = _low_threshold;
_low_threshold = new_threshold;
return prev;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.