Mercurial > hg > truffle
comparison src/cpu/x86/vm/globals_x86.hpp @ 4921:849412a95e45
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
author | coleenp |
---|---|
date | Mon, 13 Feb 2012 12:30:47 -0500 |
parents | f08d439fab8c |
children | 15085a6eb50c |
comparison
equal
deleted
inserted
replaced
4920:1bb2838e2fc1 | 4921:849412a95e45 |
---|---|
58 define_pd_global(intx, StackYellowPages, 2); | 58 define_pd_global(intx, StackYellowPages, 2); |
59 define_pd_global(intx, StackRedPages, 1); | 59 define_pd_global(intx, StackRedPages, 1); |
60 #ifdef AMD64 | 60 #ifdef AMD64 |
61 // Very large C++ stack frames using solaris-amd64 optimized builds | 61 // Very large C++ stack frames using solaris-amd64 optimized builds |
62 // due to lack of optimization caused by C++ compiler bugs | 62 // due to lack of optimization caused by C++ compiler bugs |
63 define_pd_global(intx, StackShadowPages, SOLARIS_ONLY(20) NOT_SOLARIS(6) DEBUG_ONLY(+2)); | 63 define_pd_global(intx, StackShadowPages, NOT_WIN64(20) WIN64_ONLY(6) DEBUG_ONLY(+2)); |
64 #else | 64 #else |
65 define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+5)); | 65 define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+5)); |
66 #endif // AMD64 | 66 #endif // AMD64 |
67 | 67 |
68 define_pd_global(intx, PreInflateSpin, 10); | 68 define_pd_global(intx, PreInflateSpin, 10); |