hotspot/src/share/vm/gc/g1/g1CollectedHeap.inline.hpp
changeset 32379 aa14adafaf0f
parent 32193 862a68285b1e
child 33105 294e48b4f704
equal deleted inserted replaced
32378:8dd0e7359751 32379:aa14adafaf0f
    33 #include "gc/g1/heapRegionManager.inline.hpp"
    33 #include "gc/g1/heapRegionManager.inline.hpp"
    34 #include "gc/g1/heapRegionSet.inline.hpp"
    34 #include "gc/g1/heapRegionSet.inline.hpp"
    35 #include "gc/shared/taskqueue.hpp"
    35 #include "gc/shared/taskqueue.hpp"
    36 #include "runtime/orderAccess.inline.hpp"
    36 #include "runtime/orderAccess.inline.hpp"
    37 
    37 
    38 PLABStats* G1CollectedHeap::alloc_buffer_stats(InCSetState dest) {
    38 G1EvacStats* G1CollectedHeap::alloc_buffer_stats(InCSetState dest) {
    39   switch (dest.value()) {
    39   switch (dest.value()) {
    40     case InCSetState::Young:
    40     case InCSetState::Young:
    41       return &_survivor_plab_stats;
    41       return &_survivor_evac_stats;
    42     case InCSetState::Old:
    42     case InCSetState::Old:
    43       return &_old_plab_stats;
    43       return &_old_evac_stats;
    44     default:
    44     default:
    45       ShouldNotReachHere();
    45       ShouldNotReachHere();
    46       return NULL; // Keep some compilers happy
    46       return NULL; // Keep some compilers happy
    47   }
    47   }
    48 }
    48 }