equal
deleted
inserted
replaced
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 |