7145587: Stack overflows in Java code cause 64-bit JVMs to exit due to SIGSEGV (sparc version)
Summary: Increase StackShadowPages to accomodate the JDK changes to increase buffer size in socketWrite
Reviewed-by: acorn, phh, dcubed, kamg, dsamersoff
--- a/hotspot/src/cpu/sparc/vm/globals_sparc.hpp Tue Feb 14 06:54:27 2012 -0800
+++ b/hotspot/src/cpu/sparc/vm/globals_sparc.hpp Tue Feb 14 16:50:34 2012 -0500
@@ -56,14 +56,15 @@
// Stack slots are 2X larger in LP64 than in the 32 bit VM.
define_pd_global(intx, ThreadStackSize, 1024);
define_pd_global(intx, VMThreadStackSize, 1024);
+define_pd_global(intx, StackShadowPages, 10 DEBUG_ONLY(+1));
#else
define_pd_global(intx, ThreadStackSize, 512);
define_pd_global(intx, VMThreadStackSize, 512);
+define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1));
#endif
define_pd_global(intx, StackYellowPages, 2);
define_pd_global(intx, StackRedPages, 1);
-define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1));
define_pd_global(intx, PreInflateSpin, 40); // Determined by running design center