8138971: G1CollectorPolicy::_rs_lengths_prediction is not initialized before use
authorehelin
Wed, 07 Oct 2015 17:00:02 +0200
changeset 33133 77f781548612
parent 33130 a776072941e8
child 33134 b74b1dd1039a
8138971: G1CollectorPolicy::_rs_lengths_prediction is not initialized before use Reviewed-by: mgerdin, jwilhelm
hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp
--- a/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Wed Oct 07 15:06:52 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Wed Oct 07 17:00:02 2015 +0200
@@ -112,6 +112,7 @@
                                 new TruncatedSeq(NumPrevPausesForHeuristics)),
 
   _recent_avg_pause_time_ratio(0.0),
+  _rs_lengths_prediction(0),
 
   _eden_used_bytes_before_gc(0),
   _survivor_used_bytes_before_gc(0),