changeset 9422:313e94244ed8

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 5f9da6c532fe
children 81ae0334f957
files src/share/vm/gc/g1/g1CollectorPolicy.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1CollectorPolicy.cpp	Wed Oct 07 15:06:52 2015 +0200
+++ b/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),