23 Star 19 Fork 75

src-openEuler / openjdk-1.8.0

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
print-more-information-when-AbortVMOnException.patch 961 Bytes
一键复制 编辑 原始数据 按行查看 历史
wanghao 提交于 2023-08-01 15:30 . I7PICQ: upgrade to jdk8u382-ga
From e6def0e384c2d21b2b153250153c47780fd640e4 Mon Sep 17 00:00:00 2001
Date: Wed, 5 Jul 2023 16:36:11 +0800
Subject: [PATCH] [Huawei]Print more information when AbortVMOnException
---
hotspot/src/share/vm/utilities/exceptions.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hotspot/src/share/vm/utilities/exceptions.cpp b/hotspot/src/share/vm/utilities/exceptions.cpp
index 8b25cf8c4..eabe3b9ee 100644
--- a/hotspot/src/share/vm/utilities/exceptions.cpp
+++ b/hotspot/src/share/vm/utilities/exceptions.cpp
@@ -483,7 +483,7 @@ void Exceptions::debug_check_abort(const char *value_string, const char* message
strstr(AbortVMOnException, value_string)) {
if (AbortVMOnExceptionMessage == NULL || (message != NULL &&
strstr(message, AbortVMOnExceptionMessage))) {
- fatal(err_msg("Saw %s, aborting", value_string));
+ fatal(err_msg("Saw %s : %s, aborting", value_string, message));
}
}
}
--
2.12.3
1
https://gitee.com/src-openeuler/openjdk-1.8.0.git
git@gitee.com:src-openeuler/openjdk-1.8.0.git
src-openeuler
openjdk-1.8.0
openjdk-1.8.0
master

搜索帮助