< prev index next >

hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp

Print this page

        

*** 674,690 **** //////////////////////////////////////////////////////////////////////////////// // thread stack #ifdef AMD64 ! size_t os::Linux::min_stack_allowed = 64 * K; #else ! size_t os::Linux::min_stack_allowed = (48 DEBUG_ONLY(+4))*K; #endif // AMD64 // 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); #else size_t s = (thr_type == os::compiler_thread ? 2 * M : 512 * K); --- 674,694 ---- //////////////////////////////////////////////////////////////////////////////// // thread stack #ifdef AMD64 ! 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; #else ! size_t os::Posix::_compiler_thread_min_stack_allowed = (48 DEBUG_ONLY(+ 4)) * K; ! size_t os::Posix::_java_thread_min_stack_allowed = (48 DEBUG_ONLY(+ 4)) * K; ! size_t os::Posix::_vm_internal_thread_min_stack_allowed = (48 DEBUG_ONLY(+ 4)) * K; #endif // AMD64 // 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) #ifdef AMD64 size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M); #else size_t s = (thr_type == os::compiler_thread ? 2 * M : 512 * K);
< prev index next >