diff options
| author | Keith Randall <khr@golang.org> | 2014-01-07 13:45:50 -0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-01-07 13:45:50 -0800 |
| commit | 020b39c3f3d3826d02c735c29d1dae7282aeb3f7 (patch) | |
| tree | b84e0d2dd661a351233b6eed20a7f4466ec4dfe3 /src/pkg/runtime/proc.c | |
| parent | affab3f3128558dd808247f01abfee4b2bfee712 (diff) | |
| download | go-020b39c3f3d3826d02c735c29d1dae7282aeb3f7.tar.xz | |
runtime: use special records hung off the MSpan to
record finalizers and heap profile info. Enables
removing the special bit from the heap bitmap. Also
provides a generic mechanism for annotating occasional
heap objects.
finalizers
overhead per obj
old 680 B 80 B avg
new 16 B/span 48 B
profile
overhead per obj
old 32KB 24 B + hash tables
new 16 B/span 24 B
R=cshapiro, khr, dvyukov, gobot
CC=golang-codereviews
https://golang.org/cl/13314053
Diffstat (limited to 'src/pkg/runtime/proc.c')
| -rw-r--r-- | src/pkg/runtime/proc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/runtime/proc.c b/src/pkg/runtime/proc.c index ed3e1e73ee..60cf02022b 100644 --- a/src/pkg/runtime/proc.c +++ b/src/pkg/runtime/proc.c @@ -133,7 +133,6 @@ runtime·schedinit(void) runtime·sched.maxmcount = 10000; runtime·precisestack = haveexperiment("precisestack"); - runtime·mprofinit(); runtime·mallocinit(); mcommoninit(m); |
