hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp
changeset 37144 b7ae74d4d5d8
parent 37143 345ad6728be3
child 37159 baf5e8b0bd96
child 37158 b882bbfa1af0
--- a/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp	Fri Mar 11 11:22:56 2016 +0100
+++ b/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.hpp	Fri Mar 11 11:22:56 2016 +0100
@@ -59,7 +59,6 @@
 
   G1Predictions _predictor;
   G1Analytics* _analytics;
-
   G1MMUTracker* _mmu_tracker;
 
   void initialize_alignments();
@@ -67,11 +66,6 @@
 
   double _full_collection_start_sec;
 
-  // Ratio check data for determining if heap growth is necessary.
-  uint _ratio_over_threshold_count;
-  double _ratio_over_threshold_sum;
-  uint _pauses_since_start;
-
   uint _young_list_target_length;
   uint _young_list_fixed_length;
 
@@ -82,18 +76,9 @@
   SurvRateGroup* _short_lived_surv_rate_group;
   SurvRateGroup* _survivor_surv_rate_group;
 
-  double _gc_overhead_perc;
-
   double _reserve_factor;
   uint   _reserve_regions;
 
-  enum PredictionConstants {
-    NumPrevPausesForHeuristics = 10,
-    // MinOverThresholdForGrowth must be less than NumPrevPausesForHeuristics,
-    // representing the minimum number of pause time ratios that exceed
-    // GCTimeRatio before a heap expansion will be triggered.
-    MinOverThresholdForGrowth = 4
-  };
   G1YoungGenSizer* _young_gen_sizer;
 
   uint _free_regions_at_end_of_collection;
@@ -391,13 +376,6 @@
   // the initial-mark work and start a marking cycle.
   void decide_on_conc_mark_initiation();
 
-  // If an expansion would be appropriate, because recent GC overhead had
-  // exceeded the desired limit, return an amount to expand by.
-  virtual size_t expansion_amount();
-
-  // Clear ratio tracking data used by expansion_amount().
-  void clear_ratio_check_data();
-
   // Print stats on young survival ratio
   void print_yg_surv_rate_info() const;