< prev index next >
src/share/vm/gc/g1/g1CollectedHeap.inline.hpp
Print this page
rev 8816 : imported patch 8073013-add-detailed-information-about-plab-memory-usage
*** 33,48 ****
#include "gc/g1/heapRegionManager.inline.hpp"
#include "gc/g1/heapRegionSet.inline.hpp"
#include "gc/shared/taskqueue.hpp"
#include "runtime/orderAccess.inline.hpp"
! PLABStats* G1CollectedHeap::alloc_buffer_stats(InCSetState dest) {
switch (dest.value()) {
case InCSetState::Young:
! return &_survivor_plab_stats;
case InCSetState::Old:
! return &_old_plab_stats;
default:
ShouldNotReachHere();
return NULL; // Keep some compilers happy
}
}
--- 33,48 ----
#include "gc/g1/heapRegionManager.inline.hpp"
#include "gc/g1/heapRegionSet.inline.hpp"
#include "gc/shared/taskqueue.hpp"
#include "runtime/orderAccess.inline.hpp"
! G1EvacStats* G1CollectedHeap::alloc_buffer_stats(InCSetState dest) {
switch (dest.value()) {
case InCSetState::Young:
! return &_survivor_evac_stats;
case InCSetState::Old:
! return &_old_evac_stats;
default:
ShouldNotReachHere();
return NULL; // Keep some compilers happy
}
}
< prev index next >