]> Cypherpunks repositories - gostls13.git/commit
runtime: fix heapdump bugs.
authorKeith Randall <khr@golang.org>
Tue, 8 Apr 2014 00:35:44 +0000 (17:35 -0700)
committerKeith Randall <khr@golang.org>
Tue, 8 Apr 2014 00:35:44 +0000 (17:35 -0700)
commitaf923df89ee65428b0a8cba7323e9397926ea0e6
tree1348f2a7fcbcfafc155a8386f07d376e996a3b86
parenta2a351478bb223891ebe8c1ae09c6ad09648f138
runtime: fix heapdump bugs.

Iterate the right number of times in arrays and channels.
Handle channels with zero-sized objects in them.
Output longer type names if we have them.
Compute argument offset correctly.

LGTM=rsc
R=golang-codereviews, rsc
CC=golang-codereviews
https://golang.org/cl/82980043
src/pkg/runtime/heapdump.c