提交 0fd63271 编写于 作者: C coleenp

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
上级 88c351ff
...@@ -56,14 +56,15 @@ define_pd_global(intx, InlineSmallCode, 1500); ...@@ -56,14 +56,15 @@ define_pd_global(intx, InlineSmallCode, 1500);
// Stack slots are 2X larger in LP64 than in the 32 bit VM. // Stack slots are 2X larger in LP64 than in the 32 bit VM.
define_pd_global(intx, ThreadStackSize, 1024); define_pd_global(intx, ThreadStackSize, 1024);
define_pd_global(intx, VMThreadStackSize, 1024); define_pd_global(intx, VMThreadStackSize, 1024);
define_pd_global(intx, StackShadowPages, 10 DEBUG_ONLY(+1));
#else #else
define_pd_global(intx, ThreadStackSize, 512); define_pd_global(intx, ThreadStackSize, 512);
define_pd_global(intx, VMThreadStackSize, 512); define_pd_global(intx, VMThreadStackSize, 512);
define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1));
#endif #endif
define_pd_global(intx, StackYellowPages, 2); define_pd_global(intx, StackYellowPages, 2);
define_pd_global(intx, StackRedPages, 1); 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 define_pd_global(intx, PreInflateSpin, 40); // Determined by running design center
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册