7059899: Stack overflows in Java code cause 64-bit JVMs to exit due to SIGSEGV
Summary: Increase StackShadowPages to accomodate the JDK changes to increase buffer size in socketWrite
Reviewed-by: acorn, phh
--- a/hotspot/src/cpu/x86/vm/globals_x86.hpp Mon Feb 13 06:24:44 2012 -0800
+++ b/hotspot/src/cpu/x86/vm/globals_x86.hpp Mon Feb 13 12:30:47 2012 -0500
@@ -60,7 +60,7 @@
#ifdef AMD64
// Very large C++ stack frames using solaris-amd64 optimized builds
// due to lack of optimization caused by C++ compiler bugs
-define_pd_global(intx, StackShadowPages, SOLARIS_ONLY(20) NOT_SOLARIS(6) DEBUG_ONLY(+2));
+define_pd_global(intx, StackShadowPages, NOT_WIN64(20) WIN64_ONLY(6) DEBUG_ONLY(+2));
#else
define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+5));
#endif // AMD64