hotspot/src/share/vm/memory/threadLocalAllocBuffer.cpp
void GlobalTLABStats::publish() {
{- -------------------------------------------
(1) AdaptiveWeightedAverage::sample() で, ...
(See: ThreadLocalAllocBuffer::initial_desired_size())
---------------------------------------- -}
_allocating_threads_avg.sample(_allocating_threads);
{- -------------------------------------------
(1) (プロファイル情報の記録) (See: UsePerfData)
---------------------------------------- -}
if (UsePerfData) {
_perf_allocating_threads ->set_value(_allocating_threads);
_perf_total_refills ->set_value(_total_refills);
_perf_max_refills ->set_value(_max_refills);
_perf_allocation ->set_value(_total_allocation);
_perf_gc_waste ->set_value(_total_gc_waste);
_perf_max_gc_waste ->set_value(_max_gc_waste);
_perf_slow_refill_waste ->set_value(_total_slow_refill_waste);
_perf_max_slow_refill_waste->set_value(_max_slow_refill_waste);
_perf_fast_refill_waste ->set_value(_total_fast_refill_waste);
_perf_max_fast_refill_waste->set_value(_max_fast_refill_waste);
_perf_slow_allocations ->set_value(_total_slow_allocations);
_perf_max_slow_allocations ->set_value(_max_slow_allocations);
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.