1 Star 0 Fork 26

DXwangg/openjdk-17

forked from src-openEuler/openjdk-17 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Clean-up-JDK17-codeDEX-fix-Non-static-numa_node_dist.patch 868 Bytes
一键复制 编辑 原始数据 按行查看 历史
kuen 提交于 2022-04-26 10:42 . I54NOQ: init jdk17.0.3-ga
From a012a1db673ee941cf71e52c2a7dbbd42e841a5c Mon Sep 17 00:00:00 2001
Date: Thu, 16 Dec 2021 11:17:31 +0800
Subject: [PATCH] Clean up JDK17 codeDEX fix Non-static numa_node_distance is
not initialized
---
src/hotspot/share/gc/g1/g1NUMA.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hotspot/share/gc/g1/g1NUMA.cpp b/src/hotspot/share/gc/g1/g1NUMA.cpp
index 2c2431a39..be7a7d254 100644
--- a/src/hotspot/share/gc/g1/g1NUMA.cpp
+++ b/src/hotspot/share/gc/g1/g1NUMA.cpp
@@ -83,7 +83,7 @@ bool G1NUMA::use_nearest_node() const {
G1NUMA::G1NUMA() :
_node_id_to_index_map(NULL), _len_node_id_to_index_map(0),
- _node_ids(NULL), _num_active_node_ids(0), _use_nearest(false),
+ _node_ids(NULL), _num_active_node_ids(0), _numa_node_distance(NULL), _use_nearest(false),
_region_size(0), _page_size(0), _stats(NULL) {
}
--
2.23.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/DXwangg/openjdk-17.git
git@gitee.com:DXwangg/openjdk-17.git
DXwangg
openjdk-17
openjdk-17
master

搜索帮助