diff -r 4d876653d940 -r b8f6f834489b hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp --- a/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp Fri Nov 27 12:37:38 2015 +0100 +++ b/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp Sun Nov 29 10:00:23 2015 +0100 @@ -191,7 +191,7 @@ void initialize_alignments(); void initialize_flags(); - CollectionSetChooser* _collectionSetChooser; + CollectionSetChooser* _cset_chooser; double _full_collection_start_sec; @@ -405,6 +405,10 @@ double non_young_other_time_ms() const; double constant_other_time_ms(double pause_time_ms) const; + CollectionSetChooser* cset_chooser() const { + return _cset_chooser; + } + private: // Statistics kept per GC stoppage, pause or full. TruncatedSeq* _recent_prev_end_times_for_all_gcs_sec;