From 866e7b6b7745928e559da8cdf622bf6a097ec995 Mon Sep 17 00:00:00 2001 From: Quan Zhang Date: Wed, 3 Apr 2024 00:32:33 +0000 Subject: [PATCH] 8329174: update CodeBuffer layout in comment after constants section moved Reviewed-by: kvn --- src/hotspot/share/asm/codeBuffer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hotspot/share/asm/codeBuffer.cpp b/src/hotspot/share/asm/codeBuffer.cpp index 5b1e113f15d..4bc33cc89a6 100644 --- a/src/hotspot/share/asm/codeBuffer.cpp +++ b/src/hotspot/share/asm/codeBuffer.cpp @@ -66,7 +66,11 @@ // The structure of the CodeBuffer while code is being accumulated: // // _total_start -> \ -// _insts._start -> +----------------+ +// _consts._start -> +----------------+ +// | | +// | Constants | +// | | +// _insts._start -> |----------------| // | | // | Code | // | | @@ -74,10 +78,6 @@ // | | // | Stubs | (also handlers for deopt/exception) // | | -// _consts._start -> |----------------| -// | | -// | Constants | -// | | // +----------------+ // + _total_size -> | | //