]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: disable stack copying
authorKeith Randall <khr@golang.org>
Thu, 27 Feb 2014 09:45:22 +0000 (01:45 -0800)
committerKeith Randall <khr@golang.org>
Thu, 27 Feb 2014 09:45:22 +0000 (01:45 -0800)
TBR=dvyukov

TBR=dvyukov
CC=golang-codereviews
https://golang.org/cl/69080045

src/pkg/runtime/proc.c

index 94d08bb55cb003268d706c637735d003bb03db10..6b56634225df40623b856e3ced41ad8c66088710 100644 (file)
@@ -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;