hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp
changeset 41070 496463b4e206
parent 40010 e32d5e545789
child 42905 1af223983f82
equal deleted inserted replaced
40931:d4d2a4a0e023 41070:496463b4e206
   305 }
   305 }
   306 
   306 
   307 ///////////////////////////////////////////////////////////////////////////////
   307 ///////////////////////////////////////////////////////////////////////////////
   308 // thread stack
   308 // thread stack
   309 
   309 
   310 size_t os::Linux::min_stack_allowed = 64 * K;
   310 size_t os::Posix::_compiler_thread_min_stack_allowed = 64 * K;
   311 
   311 size_t os::Posix::_java_thread_min_stack_allowed = 64 * K;
   312 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
   312 size_t os::Posix::_vm_internal_thread_min_stack_allowed = 64 * K;
       
   313 
       
   314 size_t os::Posix::default_stack_size(os::ThreadType thr_type) {
   313 #ifdef _LP64
   315 #ifdef _LP64
   314   size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
   316   size_t s = (thr_type == os::compiler_thread ? 4 * M : 1 * M);
   315 #else
   317 #else
   316   size_t s = (thr_type == os::compiler_thread ? 2 * M : 512 * K);
   318   size_t s = (thr_type == os::compiler_thread ? 2 * M : 512 * K);
   317 #endif // _LP64
   319 #endif // _LP64