hotspot/src/share/vm/memory/threadLocalAllocBuffer.cpp
void GlobalTLABStats::initialize() {
{- -------------------------------------------
(1) 各フィールドを 0 に初期化するだけ.
---------------------------------------- -}
// Clear counters summarizing info from all threads
_allocating_threads = 0;
_total_refills = 0;
_max_refills = 0;
_total_allocation = 0;
_total_gc_waste = 0;
_max_gc_waste = 0;
_total_slow_refill_waste = 0;
_max_slow_refill_waste = 0;
_total_fast_refill_waste = 0;
_max_fast_refill_waste = 0;
_total_slow_allocations = 0;
_max_slow_allocations = 0;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.