hotspot/src/share/vm/gc_interface/collectedHeap.cpp
void CollectedHeap::accumulate_statistics_all_tlabs() {
{- -------------------------------------------
(1) ThreadLocalAllocBuffer::accumulate_statistics_before_gc() を呼び出すだけ.
(なお, UseTLAB オプションが指定されていない場合には何もしない)
---------------------------------------- -}
if (UseTLAB) {
assert(SafepointSynchronize::is_at_safepoint() ||
!is_init_completed(),
"should only accumulate statistics on tlabs at safepoint");
ThreadLocalAllocBuffer::accumulate_statistics_before_gc();
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.