diff options
| author | Hector Chu <hectorchu@gmail.com> | 2011-09-17 20:39:29 +1000 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2011-09-17 20:39:29 +1000 |
| commit | 6bc0346e288996159492f37db77c986aebd11882 (patch) | |
| tree | 4dd495525514168993c05ebf9bf023d9077a20a3 /src/pkg/runtime/stack.h | |
| parent | a506c96ab2646ccbfcc3a9b37bbf58ed77ddc47f (diff) | |
| download | go-6bc0346e288996159492f37db77c986aebd11882.tar.xz | |
runtime: increase stack system space on windows/amd64
gotest src/pkg/exp/template/html was crashing because the exception handler overflowed the goroutine stack.
R=alex.brainman, golang-dev
CC=golang-dev
https://golang.org/cl/5031049
Diffstat (limited to 'src/pkg/runtime/stack.h')
| -rw-r--r-- | src/pkg/runtime/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/stack.h b/src/pkg/runtime/stack.h index 44d5533f45..483233876a 100644 --- a/src/pkg/runtime/stack.h +++ b/src/pkg/runtime/stack.h @@ -58,7 +58,7 @@ enum { // purposes like signal handling. Used on Windows because // it does not use a separate stack. #ifdef __WINDOWS__ - StackSystem = 2048, + StackSystem = 512 * sizeof(uintptr), #else StackSystem = 0, #endif |
