]> Cypherpunks repositories - gostls13.git/commit
runtime: WriteHeapDump dumps the heap to a file.
authorKeith Randall <khr@golang.org>
Tue, 25 Mar 2014 22:09:49 +0000 (15:09 -0700)
committerKeith Randall <khr@golang.org>
Tue, 25 Mar 2014 22:09:49 +0000 (15:09 -0700)
commitfff63c2448109cb5a889f99dc2ab330f31d53213
tree9345268b0f83dd33a55849247ac7dcbf99a0c70d
parentbee3848f4e252578c7439890a92e534b39c1e690
runtime: WriteHeapDump dumps the heap to a file.

See http://golang.org/s/go13heapdump for the file format.

LGTM=rsc
R=rsc, bradfitz, dvyukov, khr
CC=golang-codereviews
https://golang.org/cl/37540043
src/pkg/runtime/debug/garbage.go
src/pkg/runtime/heapdump.c [new file with mode: 0644]
src/pkg/runtime/iface.goc
src/pkg/runtime/malloc.h
src/pkg/runtime/mgc0.c
src/pkg/runtime/mgc0.h
src/pkg/runtime/runtime.h