1 Star 0 Fork 82

Daddy_Zhang/openjdk-1.8.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
8138971.patch 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
jdkboy 提交于 2020-03-21 11:30 . delete redundant info
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/daddy_zhang/openjdk-1.8.0.git
[email protected]:daddy_zhang/openjdk-1.8.0.git
daddy_zhang
openjdk-1.8.0
openjdk-1.8.0
master

搜索帮助