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