hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
changeset 32080 9d2ace436482
parent 31377 229b4eb67c2b
child 33105 294e48b4f704
equal deleted inserted replaced
32079:654a242d6dc8 32080:9d2ace436482
   620 #ifdef AMD64
   620 #ifdef AMD64
   621 size_t os::Linux::min_stack_allowed  = 64 * K;
   621 size_t os::Linux::min_stack_allowed  = 64 * K;
   622 #else
   622 #else
   623 size_t os::Linux::min_stack_allowed  =  (48 DEBUG_ONLY(+4))*K;
   623 size_t os::Linux::min_stack_allowed  =  (48 DEBUG_ONLY(+4))*K;
   624 #endif // AMD64
   624 #endif // AMD64
   625 
       
   626 // Test if pthread library can support variable thread stack size.
       
   627 bool os::Linux::supports_variable_stack_size() {
       
   628   return true;
       
   629 }
       
   630 
   625 
   631 // return default stack size for thr_type
   626 // return default stack size for thr_type
   632 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
   627 size_t os::Linux::default_stack_size(os::ThreadType thr_type) {
   633   // default stack size (compiler thread needs larger stack)
   628   // default stack size (compiler thread needs larger stack)
   634 #ifdef AMD64
   629 #ifdef AMD64