hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
size_t os::current_stack_size() {
{- -------------------------------------------
(1) current_stack_region() を呼んでスタックサイズを取得し, それをリターン.
---------------------------------------- -}
// stack size includes normal stack and HotSpot guard pages
address bottom;
size_t size;
current_stack_region(&bottom, &size);
return size;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.