18 Star 1 Fork 19

src-openEuler/openjdk-21

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Backport-JDK-8329174-update-CodeBuffer-layout-in-com.patch 1.79 KB
一键复制 编辑 原始数据 按行查看 历史
Benshuai5D 提交于 2025-01-23 08:44 +08:00 . update to jdk21.0.6
Subject: Backport JDK-8329174 update CodeBuffer layout in comment after constants section moved
---
src/hotspot/share/asm/codeBuffer.cpp | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/hotspot/share/asm/codeBuffer.cpp b/src/hotspot/share/asm/codeBuffer.cpp
index ab8aed1cb..4bc33cc89 100644
--- a/src/hotspot/share/asm/codeBuffer.cpp
+++ b/src/hotspot/share/asm/codeBuffer.cpp
@@ -24,6 +24,7 @@
#include "precompiled.hpp"
#include "asm/codeBuffer.hpp"
+#include "code/compiledIC.hpp"
#include "code/oopRecorder.inline.hpp"
#include "compiler/disassembler.hpp"
#include "logging/log.hpp"
@@ -65,7 +66,11 @@
// The structure of the CodeBuffer while code is being accumulated:
//
// _total_start -> \
-// _insts._start -> +----------------+
+// _consts._start -> +----------------+
+// | |
+// | Constants |
+// | |
+// _insts._start -> |----------------|
// | |
// | Code |
// | |
@@ -73,10 +78,6 @@
// | |
// | Stubs | (also handlers for deopt/exception)
// | |
-// _consts._start -> |----------------|
-// | |
-// | Constants |
-// | |
// +----------------+
// + _total_size -> | |
//
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/openjdk-21.git
git@gitee.com:src-openeuler/openjdk-21.git
src-openeuler
openjdk-21
openjdk-21
master

搜索帮助