--- a/hotspot/src/share/vm/gc/g1/g1Analytics.cpp Wed Jul 05 22:07:34 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1Analytics.cpp Fri Aug 19 17:19:47 2016 +0200
@@ -316,14 +316,10 @@
return get_new_size_prediction(_pending_cards_seq);
}
-double G1Analytics::oldest_known_gc_end_time_sec() const {
+double G1Analytics::last_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->last();
-}
-
void G1Analytics::update_recent_gc_times(double end_time_sec,
double pause_time_ms) {
_recent_gc_times_ms->add(pause_time_ms);