8172731: runtime/Thread/TooSmallStackSize.java fails on solaris-x64 with product build

The C2 compiler threads require a large stack with the Solaris Studio C++ compiler version 5.13 and product VM build.

Reviewed-by: sspitsyn, dcubed, goetz, dholmes
This commit is contained in:
Tobias Hartmann 2017-01-17 08:53:42 +01:00
parent cc5730af70
commit 09dee71ddd

View File

@ -89,7 +89,10 @@
// Minimum usable stack sizes required to get to user code. Space for
// HotSpot guard pages is added later.
#ifdef _LP64
size_t os::Posix::_compiler_thread_min_stack_allowed = 202 * K;
// The adlc generated method 'State::MachNodeGenerator(int)' used by the C2 compiler
// threads requires a large stack with the Solaris Studio C++ compiler version 5.13
// and product VM builds (debug builds require significantly less stack space).
size_t os::Posix::_compiler_thread_min_stack_allowed = 325 * K;
size_t os::Posix::_java_thread_min_stack_allowed = 48 * K;
size_t os::Posix::_vm_internal_thread_min_stack_allowed = 224 * K;
#else