< prev index next >
hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
Print this page
*** 471,484 ****
}
////////////////////////////////////////////////////////////////////////////////
// thread stack
! size_t os::Linux::min_stack_allowed = 64 * K;
// return default stack size for thr_type
! size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
// default stack size (compiler thread needs larger stack)
size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
return s;
}
--- 471,486 ----
}
////////////////////////////////////////////////////////////////////////////////
// thread stack
! size_t os::Posix::_compiler_thread_min_stack_allowed = 64 * K;
! size_t os::Posix::_java_thread_min_stack_allowed = 64 * K;
! size_t os::Posix::_vm_internal_thread_min_stack_allowed = 64 * K;
// return default stack size for thr_type
! size_t os::Posix::default_stack_size(os::ThreadType thr_type) {
// default stack size (compiler thread needs larger stack)
size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
return s;
}
< prev index next >