runtime: expand comment on work.spans

Change-Id: I4b8a6f5d9bc5aba16026d17f99f3512dacde8d2d
Reviewed-on: https://go-review.googlesource.com/30534
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
This commit is contained in:
Austin Clements 2016-10-05 12:31:00 -04:00
parent 5915ce6674
commit 45baff61e3
1 changed files with 3 additions and 1 deletions

View File

@ -815,7 +815,9 @@ var work struct {
// mode is the concurrency mode of the current GC cycle.
mode gcMode
// Copy of mheap.allspans for marker or sweeper.
// Snapshot of mheap.allspans for marker or sweeper created by
// gcCopySpans. Unlike allspans, this does not change except
// at controlled GC transition points.
spans []*mspan
// totaltime is the CPU nanoseconds spent in GC since the