aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/malloc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/malloc.go')
-rw-r--r--src/runtime/malloc.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/malloc.go b/src/runtime/malloc.go
index f9be28d6e6..d4487eed6d 100644
--- a/src/runtime/malloc.go
+++ b/src/runtime/malloc.go
@@ -653,7 +653,6 @@ func mallocgc(size uintptr, typ *_type, flags uint32) unsafe.Pointer {
}
}
}
- c.local_cachealloc += size
} else {
var s *mspan
shouldhelpgc = true