8329174: update CodeBuffer layout in comment after constants section moved

Reviewed-by: kvn
This commit is contained in:
Quan Zhang 2024-04-03 00:32:33 +00:00 committed by Vladimir Kozlov
parent f88f31dcbf
commit 866e7b6b77

View File

@ -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 -> | |
//