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