aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mcache.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/mcache.go')
-rw-r--r--src/runtime/mcache.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/mcache.go b/src/runtime/mcache.go
index 38d5492df1..c483310cee 100644
--- a/src/runtime/mcache.go
+++ b/src/runtime/mcache.go
@@ -77,7 +77,6 @@ func allocmcache() *mcache {
lock(&mheap_.lock)
c := (*mcache)(mheap_.cachealloc.alloc())
unlock(&mheap_.lock)
- memclr(unsafe.Pointer(c), unsafe.Sizeof(*c))
for i := 0; i < _NumSizeClasses; i++ {
c.alloc[i] = &emptymspan
}