27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
|
|
From ffb7c326ceb85f9bab196a23d3c2adb4a27613ce Mon Sep 17 00:00:00 2001
|
||
|
|
Date: Wed, 17 Jul 2019 09:26:19 +0000
|
||
|
|
Subject: [PATCH] Backport of JDK-8138971
|
||
|
|
|
||
|
|
summary: G1CollectorPolicy::_rs_lengths_prediction is not initialized before use
|
||
|
|
LLT:
|
||
|
|
Bug url: https://bugs.openjdk.java.net/browse/JDK-8138971
|
||
|
|
---
|
||
|
|
hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp | 1 +
|
||
|
|
1 file changed, 1 insertion(+)
|
||
|
|
|
||
|
|
diff --git a/hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp b/hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
|
||
|
|
index c4463f50fc..066aa40b25 100644
|
||
|
|
--- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
|
||
|
|
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
|
||
|
|
@@ -122,6 +122,7 @@ G1CollectorPolicy::G1CollectorPolicy() :
|
||
|
|
new TruncatedSeq(NumPrevPausesForHeuristics)),
|
||
|
|
|
||
|
|
_recent_avg_pause_time_ratio(0.0),
|
||
|
|
+ _rs_lengths_prediction(0),
|
||
|
|
|
||
|
|
_initiate_conc_mark_if_possible(false),
|
||
|
|
_during_initial_mark_pause(false),
|
||
|
|
--
|
||
|
|
2.12.3
|
||
|
|
|