changeset 33133:77f781548612

8138971: G1CollectorPolicy::_rs_lengths_prediction is not initialized before use Reviewed-by: mgerdin, jwilhelm
author ehelin
date Wed, 07 Oct 2015 17:00:02 +0200
parents a776072941e8
children b74b1dd1039a
files hotspot/src/share/vm/gc/g1/g1CollectorPolicy.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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),