1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:54:40 -07:00

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
This commit is contained in:
Hector Chu 2011-09-17 20:39:29 +10:00 committed by Alex Brainman
parent a506c96ab2
commit 6bc0346e28

View File

@ -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