# HG changeset patch # User coleenp # Date 1329154247 18000 # Node ID 849412a95e45922b7db2540a6342dccd08a5b993 # Parent 1bb2838e2fc1c6093ea03ec08121b496bf477573 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 1bb2838e2fc1 -r 849412a95e45 src/cpu/x86/vm/globals_x86.hpp --- a/src/cpu/x86/vm/globals_x86.hpp Mon Feb 13 06:24:44 2012 -0800 +++ b/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