src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp
changeset 49054 fa4c8865a4ff
parent 48961 120b61d50f85
child 49164 7e958a8ebcd3
equal deleted inserted replaced
49053:0b61efd5a439 49054:fa4c8865a4ff
    54   // * Allowing humongous PLABs needlessly churns the region free lists
    54   // * Allowing humongous PLABs needlessly churns the region free lists
    55   return MIN2(_humongous_object_threshold_in_words, gclab_word_size);
    55   return MIN2(_humongous_object_threshold_in_words, gclab_word_size);
    56 }
    56 }
    57 
    57 
    58 // Inline functions for G1CollectedHeap
    58 // Inline functions for G1CollectedHeap
    59 
       
    60 inline AllocationContextStats& G1CollectedHeap::allocation_context_stats() {
       
    61   return _allocation_context_stats;
       
    62 }
       
    63 
    59 
    64 // Return the region with the given index. It assumes the index is valid.
    60 // Return the region with the given index. It assumes the index is valid.
    65 inline HeapRegion* G1CollectedHeap::region_at(uint index) const { return _hrm.at(index); }
    61 inline HeapRegion* G1CollectedHeap::region_at(uint index) const { return _hrm.at(index); }
    66 
    62 
    67 inline HeapRegion* G1CollectedHeap::next_region_in_humongous(HeapRegion* hr) const {
    63 inline HeapRegion* G1CollectedHeap::next_region_in_humongous(HeapRegion* hr) const {