hotspot/src/share/vm/gc_implementation/shared/mutableNUMASpace.cpp
// Accumulate statistics about the allocation rate of each lgrp.
void MutableNUMASpace::accumulate_statistics() {
if (UseAdaptiveNUMAChunkSizing) {
for (int i = 0; i < lgrp_spaces()->length(); i++) {
lgrp_spaces()->at(i)->sample();
}
increment_samples_count();
}
if (NUMAStats) {
for (int i = 0; i < lgrp_spaces()->length(); i++) {
lgrp_spaces()->at(i)->accumulate_statistics(page_size());
}
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.