--- old/src/hotspot/share/gc/g1/g1Analytics.hpp 2020-06-10 10:12:01.328919567 +0200 +++ new/src/hotspot/share/gc/g1/g1Analytics.hpp 2020-06-10 10:12:01.236916410 +0200 @@ -88,6 +88,9 @@ size_t predict_size(TruncatedSeq const* seq) const; double predict_zero_bounded(TruncatedSeq const* seq) const; + double oldest_known_gc_end_time_sec() const; + double most_recent_gc_end_time_sec() const; + public: G1Analytics(const G1Predictions* predictor); @@ -160,9 +163,7 @@ // Add a new GC of the given duration and end time to the record. void update_recent_gc_times(double end_time_sec, double elapsed_ms); - void compute_pause_time_ratio(double interval_ms, double pause_time_ms); - - double last_known_gc_end_time_sec() const; + void compute_pause_time_ratios(double end_time_sec, double pause_time_ms); }; #endif // SHARE_GC_G1_G1ANALYTICS_HPP