7012642: G1: JumbleGC002 test aborts with segmentation violation due to uncaught stack overflow

Wed, 19 Jan 2011 13:01:11 -0800

author
johnc
date
Wed, 19 Jan 2011 13:01:11 -0800
changeset 2470
182e9624aa42
parent 2457
ffd725ff6943
child 2471
cb913d743d09

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

src/cpu/x86/vm/globals_x86.hpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/x86/vm/globals_x86.hpp	Thu Jan 13 17:19:21 2011 -0800
     1.2 +++ b/src/cpu/x86/vm/globals_x86.hpp	Wed Jan 19 13:01:11 2011 -0800
     1.3 @@ -62,7 +62,7 @@
     1.4  // due to lack of optimization caused by C++ compiler bugs
     1.5  define_pd_global(intx, StackShadowPages, SOLARIS_ONLY(20) NOT_SOLARIS(6) DEBUG_ONLY(+2));
     1.6  #else
     1.7 -define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1));
     1.8 +define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+5));
     1.9  #endif // AMD64
    1.10  
    1.11  define_pd_global(intx, PreInflateSpin,           10);

mercurial