diff options
| author | Russ Cox <rsc@golang.org> | 2014-12-05 19:50:09 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-12-05 19:50:09 -0500 |
| commit | db406241107353323b5cf484d6abd05c4722a104 (patch) | |
| tree | c09a318f25cee9dfa4eadc07cc7edd28a52c9775 /src/runtime/stack2.go | |
| parent | fa6c54953c756c461073119f02e70930c753bac1 (diff) | |
| download | go-db406241107353323b5cf484d6abd05c4722a104.tar.xz | |
[dev.garbage] runtime: raise StackGuard limit for Windows (again)
640 bytes ought to be enough for anybody.
We'll bring this back down before Go 1.5. That's issue 9214.
TBR=rlh
CC=golang-codereviews
https://golang.org/cl/188730043
Diffstat (limited to 'src/runtime/stack2.go')
| -rw-r--r-- | src/runtime/stack2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack2.go b/src/runtime/stack2.go index e50b32c784..8a78b1ad96 100644 --- a/src/runtime/stack2.go +++ b/src/runtime/stack2.go @@ -84,7 +84,7 @@ const ( // The stack guard is a pointer this many bytes above the // bottom of the stack. - _StackGuard = 512 + _StackSystem + _StackGuard = 640 + _StackSystem // After a stack split check the SP is allowed to be this // many bytes below the stack guard. This saves an instruction |
