aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-09-08 10:14:41 -0700
committerKeith Randall <khr@golang.org>2014-09-08 10:14:41 -0700
commit526319830bf0d7778226fa9ef558f51ebe67aaa6 (patch)
treee3ce579869fec99095965a9ba25ef74ce9437d0c /src/runtime/malloc.go
parent4c05d32f795a714106490e5e8b6296b920354674 (diff)
downloadgo-526319830bf0d7778226fa9ef558f51ebe67aaa6.tar.xz
runtime: a few cleanups.
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/134630043
Diffstat (limited to 'src/runtime/malloc.go')
-rw-r--r--src/runtime/malloc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go
index 883ca0cef7..b3c9c1fd78 100644
--- a/src/runtime/malloc.go
+++ b/src/runtime/malloc.go
@@ -35,6 +35,8 @@ const (
bitMask = bitBoundary | bitMarked
mSpanInUse = 0
+
+ concurrentSweep = true
)
// Page number (address>>pageShift)