hotspot/src/share/vm/gc/g1/g1Analytics.cpp
changeset 40328 a2851f5f1cf6
parent 38249 51b1102fc197
child 40523 20873f6704de
equal deleted inserted replaced
40106:6be13673b3c1 40328:a2851f5f1cf6
   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 {
       
   320   return _recent_prev_end_times_for_all_gcs_sec->oldest();
       
   321 }
       
   322 
   319 double G1Analytics::last_known_gc_end_time_sec() const {
   323 double G1Analytics::last_known_gc_end_time_sec() const {
   320   return _recent_prev_end_times_for_all_gcs_sec->oldest();
   324   return _recent_prev_end_times_for_all_gcs_sec->last();
   321 }
   325 }
   322 
   326 
   323 void G1Analytics::update_recent_gc_times(double end_time_sec,
   327 void G1Analytics::update_recent_gc_times(double end_time_sec,
   324                                          double pause_time_ms) {
   328                                          double pause_time_ms) {
   325   _recent_gc_times_ms->add(pause_time_ms);
   329   _recent_gc_times_ms->add(pause_time_ms);