1 Star 0 Fork 82

MYX/openjdk-1.8.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
0024-Fix-the-trim-crash-caused-by-incorrect-assert-in-fas.patch 926 Bytes
一键复制 编辑 原始数据 按行查看 历史
Date: Thu, 8 Jun 2023 20:40:47 +0800
Subject: Fix the trim crash caused by incorrect assert in fastdebug version
Bug url: https://codehub-y.huawei.com/huaweijdk/jdk8u-dev/issues/4117
---
.../src/share/vm/gc_implementation/shared/gcTrimNativeHeap.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/hotspot/src/share/vm/gc_implementation/shared/gcTrimNativeHeap.cpp b/hotspot/src/share/vm/gc_implementation/shared/gcTrimNativeHeap.cpp
index b9bac5601..4350d7a03 100644
--- a/hotspot/src/share/vm/gc_implementation/shared/gcTrimNativeHeap.cpp
+++ b/hotspot/src/share/vm/gc_implementation/shared/gcTrimNativeHeap.cpp
@@ -218,7 +218,6 @@ bool GCTrimNative::should_trim(bool ignore_delay) {
void GCTrimNative::execute_trim() {
if (GCTrimNativeHeap) {
- assert(!_async_mode, "Only call for non-async mode");
do_trim();
_next_trim_not_before = os::elapsedTime() + GCTrimNativeHeapInterval;
}
--
2.22.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/myx_076/openjdk-1.8.0.git
git@gitee.com:myx_076/openjdk-1.8.0.git
myx_076
openjdk-1.8.0
openjdk-1.8.0
master

搜索帮助