hotspot/src/share/vm/gc/g1/g1Analytics.cpp
changeset 40328 a2851f5f1cf6
parent 38249 51b1102fc197
child 40523 20873f6704de
--- a/hotspot/src/share/vm/gc/g1/g1Analytics.cpp	Tue Aug 02 15:22:41 2016 +0300
+++ b/hotspot/src/share/vm/gc/g1/g1Analytics.cpp	Tue Aug 02 16:39:33 2016 -0400
@@ -316,8 +316,12 @@
   return get_new_size_prediction(_pending_cards_seq);
 }
 
+double G1Analytics::oldest_known_gc_end_time_sec() const {
+  return _recent_prev_end_times_for_all_gcs_sec->oldest();
+}
+
 double G1Analytics::last_known_gc_end_time_sec() const {
-  return _recent_prev_end_times_for_all_gcs_sec->oldest();
+  return _recent_prev_end_times_for_all_gcs_sec->last();
 }
 
 void G1Analytics::update_recent_gc_times(double end_time_sec,