--- old/src/hotspot/share/gc/g1/g1Policy.hpp 2020-08-13 04:14:11.807305775 +0000 +++ new/src/hotspot/share/gc/g1/g1Policy.hpp 2020-08-13 04:14:11.647302708 +0000 @@ -56,10 +56,10 @@ class G1Policy: public CHeapObj { private: - static G1IHOPControl* create_ihop_control(const G1Predictions* predictor); + static G1IHOPControl* create_ihop_control(const G1OldGenAllocationTracker* old_gen_alloc_tracker, + const G1Predictions* predictor); // Update the IHOP control with necessary statistics. void update_ihop_prediction(double mutator_time_s, - size_t mutator_alloc_bytes, size_t young_gen_size, bool this_gc_was_young_only); void report_ihop_statistics(); @@ -68,6 +68,10 @@ G1Analytics* _analytics; G1RemSetTrackingPolicy _remset_tracker; G1MMUTracker* _mmu_tracker; + + // Tracking the allocation in the old generation between + // two GCs. + G1OldGenAllocationTracker _old_gen_alloc_tracker; G1IHOPControl* _ihop_control; GCPolicyCounters* _policy_counters; @@ -101,10 +105,6 @@ size_t _pending_cards_at_gc_start; - // Tracking the allocation in the old generation between - // two GCs. - G1OldGenAllocationTracker _old_gen_alloc_tracker; - G1ConcurrentStartToMixedTimeTracker _concurrent_start_to_mixed; bool should_update_surv_rate_group_predictors() {