hotspot/src/share/vm/gc_implementation/shared/adaptiveSizePolicy.hpp
bool print_test(uint count) {
// A count of zero is a special value that indicates that the
// interval test should be ignored. An interval is of zero is
// a special value that indicates that the interval test should
// always fail (never do the print based on the interval test).
return PrintGCDetails &&
UseAdaptiveSizePolicy &&
(UseParallelGC || UseConcMarkSweepGC) &&
(AdaptiveSizePolicyOutputInterval > 0) &&
((count == 0) ||
((count % AdaptiveSizePolicyOutputInterval) == 0));
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.