]> Cypherpunks repositories - gostls13.git/commit
runtime: add per-M caches for MemStats
authorDmitriy Vyukov <dvyukov@google.com>
Mon, 18 Jul 2011 18:52:57 +0000 (14:52 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 18 Jul 2011 18:52:57 +0000 (14:52 -0400)
commit66d5c9b1e9c30908608469f30b0bb72cb3014600
tree724782fc9e370b5bf2ba33373ccf2a71cbff8c64
parent257df1719d5bf4783f0add45c87dfc0353d6dbc4
runtime: add per-M caches for MemStats
Avoid touching centralized state during
memory manager opreations.

R=rsc
CC=golang-dev
https://golang.org/cl/4766042
src/pkg/runtime/malloc.goc
src/pkg/runtime/malloc.h
src/pkg/runtime/mcache.c
src/pkg/runtime/mgc0.c
src/pkg/runtime/mheap.c
test/mallocrep.go
test/mallocrep1.go