7059899: Stack overflows in Java code cause 64-bit JVMs to exit due to SIGSEGV
authorcoleenp
Mon, 13 Feb 2012 12:30:47 -0500
changeset 11765 fe26226ed977
parent 11764 31b4ddedad1b
child 11766 b1ff60353280
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
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