From: Keith Randall Date: Thu, 27 Feb 2014 09:45:22 +0000 (-0800) Subject: runtime: disable stack copying X-Git-Tag: go1.3beta1~550 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f50a87058b6773f277d139b9c85ad421b92620d2;p=gostls13.git runtime: disable stack copying TBR=dvyukov TBR=dvyukov CC=golang-codereviews https://golang.org/cl/69080045 --- diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index 94d08bb55c..6b56634225 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -174,6 +174,7 @@ runtime·schedinit(void) procresize(procs); runtime·copystack = runtime·precisestack; + runtime·copystack = false; // TODO: remove p = runtime·getenv("GOCOPYSTACK"); if(p != nil && !runtime·strcmp(p, (byte*)"0")) runtime·copystack = false;