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 | f83565bc02ff8dbf9bb7d72a863f63c18361665d (patch) | |
tree | a2c4fdfd9c3bd179ef6d4e0043af1f6840352dd9 /src/runtime/stack2.go | |
parent | 38dd025dc495715d02b1c6cc8ab93e863fa5fa29 (diff) | |
download | go-f83565bc02ff8dbf9bb7d72a863f63c18361665d.tar.gz |
[dev.garbage] runtime: raise StackGuard limit for Windows (again)dev.garbage
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://codereview.appspot.com/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 e50b32c78..8a78b1ad9 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 |