< prev index next >
src/os_cpu/linux_x86/vm/os_linux_x86.cpp
Print this page
*** 621,635 ****
size_t os::Linux::min_stack_allowed = 64 * K;
#else
size_t os::Linux::min_stack_allowed = (48 DEBUG_ONLY(+4))*K;
#endif // AMD64
- // Test if pthread library can support variable thread stack size.
- bool os::Linux::supports_variable_stack_size() {
- return true;
- }
-
// 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)
#ifdef AMD64
size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
--- 621,630 ----
< prev index next >