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