Commit f18e4e44 authored by Russ Cox's avatar Russ Cox

runtime: disable parallel gc

Breaks on Linux/386 during parallel sync tests.

TBR=r
CC=golang-dev
https://golang.org/cl/5168044
parent 38d3f585
...@@ -607,6 +607,7 @@ runtime·helpgc(void) ...@@ -607,6 +607,7 @@ runtime·helpgc(void)
M *m; M *m;
int32 n, max; int32 n, max;
return 0; // broken on linux/386
// Figure out how many CPUs to use. // Figure out how many CPUs to use.
// Limited by gomaxprocs, number of actual CPUs, and MaxGcproc. // Limited by gomaxprocs, number of actual CPUs, and MaxGcproc.
max = runtime·gomaxprocs; max = runtime·gomaxprocs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment