]> Cypherpunks repositories - gostls13.git/commit
runtime: output number of goroutines in GC trace
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 18 Sep 2014 03:38:50 +0000 (20:38 -0700)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 18 Sep 2014 03:38:50 +0000 (20:38 -0700)
commited7db89b90409c1ef0be44f4e5cea7dd6475ba4e
treec92cd33bd096d5261db0d56b0b882667c7a1ba6a
parenta2910958a2bcc360e811d1f6f476784b213bb0f1
runtime: output number of goroutines in GC trace
Example output:
gc26(1): 1+0+1038+0 us, 0 -> 1 MB, 19074 (88777-69703) objects, 5 gs, 184/0/0 sweeps, 0(0) handoff, 0(0) steal, 0/0/0 yields
It's useful to understand long scan times,
because goroutine traceback is slow.

LGTM=khr
R=golang-codereviews, khr
CC=golang-codereviews, rsc
https://golang.org/cl/136310044
src/runtime/mgc0.c