src/hotspot/share/gc/g1/g1Analytics.cpp
changeset 48010 cd8f5f780750
parent 47216 71c04702a3d5
child 49643 a3453bbd5418
--- a/src/hotspot/share/gc/g1/g1Analytics.cpp	Tue Nov 21 09:44:50 2017 +0100
+++ b/src/hotspot/share/gc/g1/g1Analytics.cpp	Tue Nov 21 08:33:54 2017 +0100
@@ -90,7 +90,9 @@
     _non_young_other_cost_per_region_ms_seq(new TruncatedSeq(TruncatedSeqLength)),
     _pending_cards_seq(new TruncatedSeq(TruncatedSeqLength)),
     _rs_lengths_seq(new TruncatedSeq(TruncatedSeqLength)),
-    _recent_prev_end_times_for_all_gcs_sec(new TruncatedSeq(NumPrevPausesForHeuristics)) {
+    _recent_prev_end_times_for_all_gcs_sec(new TruncatedSeq(NumPrevPausesForHeuristics)),
+    _recent_avg_pause_time_ratio(0.0),
+    _last_pause_time_ratio(0.0) {
 
   // Seed sequences with initial values.
   _recent_prev_end_times_for_all_gcs_sec->add(os::elapsedTime());