diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2012-05-11 13:30:34 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2012-05-11 13:30:34 +0400 |
| commit | eb0bc8164a950ef6c539048474ec7570a9b72856 (patch) | |
| tree | 8a5ccaa9a76cebd4d7a128cc1138e46442c2d2f1 /src/pkg/runtime/malloc.h | |
| parent | 95643647ae980f6d55e92d9ca22f262efa6bcde5 (diff) | |
| download | go-eb0bc8164a950ef6c539048474ec7570a9b72856.tar.xz | |
runtime: revert MaxGcproc from 16 to 4
The change accidentally come in with this revision:
https://code.google.com/p/go/source/detail?spec=svn345cbca96c5550f2e89bc727703301933802923c&r=14c38c23c819a17021b1808cf4a34ef3a1a17db5
R=golang-dev
CC=golang-dev
https://golang.org/cl/6195073
Diffstat (limited to 'src/pkg/runtime/malloc.h')
| -rw-r--r-- | src/pkg/runtime/malloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h index 081ebd1394..c9ac7c00c9 100644 --- a/src/pkg/runtime/malloc.h +++ b/src/pkg/runtime/malloc.h @@ -125,7 +125,7 @@ enum // 2, 3, and 4 are all plausible maximums depending // on the hardware details of the machine. The garbage // collector scales well to 4 cpus. - MaxGcproc = 16, + MaxGcproc = 4, }; // A generic linked list of blocks. (Typically the block is bigger than sizeof(MLink).) |
