src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

changeset 2975
5f6f2615433a
parent 2974
e8b0b0392037
child 3021
14a2fd14c0db
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Tue Jun 21 15:23:07 2011 -0400
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Fri Jun 24 12:38:49 2011 -0400
     1.3 @@ -27,6 +27,7 @@
     1.4  
     1.5  #include "gc_implementation/g1/concurrentMark.hpp"
     1.6  #include "gc_implementation/g1/g1AllocRegion.hpp"
     1.7 +#include "gc_implementation/g1/g1HRPrinter.hpp"
     1.8  #include "gc_implementation/g1/g1RemSet.hpp"
     1.9  #include "gc_implementation/g1/g1MonitoringSupport.hpp"
    1.10  #include "gc_implementation/g1/heapRegionSeq.hpp"
    1.11 @@ -298,6 +299,8 @@
    1.12  
    1.13    size_t* _surviving_young_words;
    1.14  
    1.15 +  G1HRPrinter _hr_printer;
    1.16 +
    1.17    void setup_surviving_young_words();
    1.18    void update_surviving_young_words(size_t* surv_young_words);
    1.19    void cleanup_surviving_young_words();
    1.20 @@ -635,6 +638,8 @@
    1.21      return _full_collections_completed;
    1.22    }
    1.23  
    1.24 +  G1HRPrinter* hr_printer() { return &_hr_printer; }
    1.25 +
    1.26  protected:
    1.27  
    1.28    // Shrink the garbage-first heap by at most the given size (in bytes!).

mercurial