hotspot/src/share/vm/gc/g1/g1Analytics.cpp
changeset 40523 20873f6704de
parent 40328 a2851f5f1cf6
equal deleted inserted replaced
40519:e17429a7e843 40523:20873f6704de
   314 
   314 
   315 size_t G1Analytics::predict_pending_cards() const {
   315 size_t G1Analytics::predict_pending_cards() const {
   316   return get_new_size_prediction(_pending_cards_seq);
   316   return get_new_size_prediction(_pending_cards_seq);
   317 }
   317 }
   318 
   318 
   319 double G1Analytics::oldest_known_gc_end_time_sec() const {
   319 double G1Analytics::last_known_gc_end_time_sec() const {
   320   return _recent_prev_end_times_for_all_gcs_sec->oldest();
   320   return _recent_prev_end_times_for_all_gcs_sec->oldest();
   321 }
       
   322 
       
   323 double G1Analytics::last_known_gc_end_time_sec() const {
       
   324   return _recent_prev_end_times_for_all_gcs_sec->last();
       
   325 }
   321 }
   326 
   322 
   327 void G1Analytics::update_recent_gc_times(double end_time_sec,
   323 void G1Analytics::update_recent_gc_times(double end_time_sec,
   328                                          double pause_time_ms) {
   324                                          double pause_time_ms) {
   329   _recent_gc_times_ms->add(pause_time_ms);
   325   _recent_gc_times_ms->add(pause_time_ms);