hotspot/src/cpu/sparc/vm/assembler_sparc.hpp
// Note: this clobbers G3_scratch
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 から指定されたオフセット(+STACK_BIAS)のアドレスに 0 を書き込むだけ
---------------------------------------- -}
set((-offset)+STACK_BIAS, G3_scratch);
st(G0, SP, G3_scratch);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.