Commit 45baff61 authored by Austin Clements's avatar Austin Clements

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: 's avatarRick Hudson <rlh@golang.org>
parent 5915ce66
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment