< prev index next >

src/hotspot/share/gc/g1/g1Analytics.hpp

Print this page
rev 57223 : imported patch 8225484-changes-to-survivor-calculation

@@ -73,10 +73,12 @@
   TruncatedSeq* _cost_per_byte_ms_during_cm_seq;
 
   // Statistics kept per GC stoppage, pause or full.
   TruncatedSeq* _recent_prev_end_times_for_all_gcs_sec;
 
+  TruncatedSeq* _survivor_ratio;
+
   // The ratio of gc time to elapsed time, computed over recent pauses,
   // and the ratio for just the last pause.
   double _recent_avg_pause_time_ratio;
   double _last_pause_time_ratio;
 

@@ -124,10 +126,11 @@
   void report_young_other_cost_per_region_ms(double other_cost_per_region_ms);
   void report_non_young_other_cost_per_region_ms(double other_cost_per_region_ms);
   void report_constant_other_time_ms(double constant_other_time_ms);
   void report_pending_cards(double pending_cards);
   void report_rs_length(double rs_length);
+  void report_survivor_ratio(double ratio);
 
   double predict_alloc_rate_ms() const;
   int num_alloc_rate_ms() const;
 
   double predict_concurrent_refine_rate_ms() const;

@@ -156,10 +159,12 @@
   double predict_cleanup_time_ms() const;
 
   size_t predict_rs_length() const;
   size_t predict_pending_cards() const;
 
+  double predict_survivor_ratio() const;  
+
   // 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;
< prev index next >