hotspot/src/cpu/x86/vm/assembler_x86.hpp
// Stack overflow checking
void bang_stack_with_offset(int offset) {
{- -------------------------------------------
(1) (assert)
---------------------------------------- -}
// stack grows down, caller passes positive offset
assert(offset > 0, "must bang with negative offset");
{- -------------------------------------------
(1) 現在の SP から指定されたオフセットだけ離れたアドレスに rax レジスタの値を書き込むだけ.
---------------------------------------- -}
movl(Address(rsp, (-offset)), rax);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.