# HG changeset patch # User coleenp # Date 1329154247 18000 # Node ID fe26226ed97753fadc2ac423ed725f4323a021fe # Parent 31b4ddedad1b76d8656a330f584f947ecd9115d4 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 diff -r 31b4ddedad1b -r fe26226ed977 hotspot/src/cpu/x86/vm/globals_x86.hpp --- 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