--- old/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp 2018-09-04 14:50:25.751672116 +0000 +++ new/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp 2018-09-04 14:50:25.551669887 +0000 @@ -380,8 +380,10 @@ void reclaim_empty_regions(); +public: // After reclaiming empty regions, update heap sizes. void compute_new_sizes(); +private: // Clear statistics gathered during the concurrent cycle for the given region after // it has been reclaimed.