]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: disable parallel gc
authorRuss Cox <rsc@golang.org>
Fri, 30 Sep 2011 18:59:46 +0000 (14:59 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 30 Sep 2011 18:59:46 +0000 (14:59 -0400)
Breaks on Linux/386 during parallel sync tests.

TBR=r
CC=golang-dev
https://golang.org/cl/5168044

src/pkg/runtime/proc.c

index 39e3fa02304e898062439ffc3c9c295571bb20cf..f050ee766184775e980cb5d6651b9d1565078079 100644 (file)
@@ -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;