From 731fb4eea21ab67d90970d7c6107fb0a4fbee9ec Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Wed, 11 Oct 2023 09:22:27 +0000 Subject: [PATCH] 8317797: G1: Remove unimplemented predict_will_fit Reviewed-by: tschatzl --- src/hotspot/share/gc/g1/g1Policy.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/hotspot/share/gc/g1/g1Policy.hpp b/src/hotspot/share/gc/g1/g1Policy.hpp index 7ecfc4dd2f7..c5ab4e9e1de 100644 --- a/src/hotspot/share/gc/g1/g1Policy.hpp +++ b/src/hotspot/share/gc/g1/g1Policy.hpp @@ -251,14 +251,6 @@ private: double predict_survivor_regions_evac_time() const; double predict_retained_regions_evac_time() const; - // Check whether a given young length (young_length) fits into the - // given target pause time and whether the prediction for the amount - // of objects to be copied for the given length will fit into the - // given free space (expressed by base_free_regions). It is used by - // calculate_young_list_target_length(). - bool predict_will_fit(uint young_length, double base_time_ms, - uint base_free_regions, double target_pause_time_ms) const; - public: size_t pending_cards_at_gc_start() const { return _pending_cards_at_gc_start; }