# HG changeset patch # User johnc # Date 1295470871 28800 # Node ID 9a89fc7051a3d88a8140aeb15a0a2cf79a3a7190 # Parent d1ab39295cee8f5f1f19bce3391c8cd102c946bc 7012642: G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow Summary: With recent G1 allocation path changes, the value of StackShadowPages in fast debug builds of the JVM, is no longer large enough to prevent the JVM C++ code from touching the stack guard pages. Increase the value of StackShadowPages to a suitable value. Reviewed-by: ysr, tonyp, coleenp diff -r d1ab39295cee -r 9a89fc7051a3 hotspot/src/cpu/x86/vm/globals_x86.hpp --- a/hotspot/src/cpu/x86/vm/globals_x86.hpp Thu Jan 13 17:19:21 2011 -0800 +++ b/hotspot/src/cpu/x86/vm/globals_x86.hpp Wed Jan 19 13:01:11 2011 -0800 @@ -62,7 +62,7 @@ // due to lack of optimization caused by C++ compiler bugs define_pd_global(intx, StackShadowPages, SOLARIS_ONLY(20) NOT_SOLARIS(6) DEBUG_ONLY(+2)); #else -define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1)); +define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+5)); #endif // AMD64 define_pd_global(intx, PreInflateSpin, 10);