From: Russ Cox Date: Fri, 30 Sep 2011 18:59:46 +0000 (-0400) Subject: runtime: disable parallel gc X-Git-Tag: weekly.2011-10-06~51 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f18e4e44a3e6ba037e8e05c65fde2b25048402d7;p=gostls13.git runtime: disable parallel gc Breaks on Linux/386 during parallel sync tests. TBR=r CC=golang-dev https://golang.org/cl/5168044 --- diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index 39e3fa0230..f050ee7661 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -607,6 +607,7 @@ runtime·helpgc(void) M *m; int32 n, max; +return 0; // broken on linux/386 // Figure out how many CPUs to use. // Limited by gomaxprocs, number of actual CPUs, and MaxGcproc. max = runtime·gomaxprocs;