diff options
author | Austin Clements <austin@google.com> | 2016-09-29 11:59:56 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2016-10-07 18:33:23 +0000 |
commit | 94589054d3ed88c049fbe468d58b995e0e154f1d (patch) | |
tree | 8bbf203c30d95531937cabe10282dc43462df455 /src/runtime/trace.go | |
parent | eed309f5fb223a879630e9dced8c44c2b049cf71 (diff) | |
download | go-94589054d3ed88c049fbe468d58b995e0e154f1d.tar.gz go-94589054d3ed88c049fbe468d58b995e0e154f1d.zip |
cmd/trace: label mark termination spans as such
Currently these are labeled "MARK", which was accurate in the STW
collector, but these really indicate mark termination now, since
marking happens for the full duration of the concurrent GC. Re-label
them as "MARK TERMINATION" to clarify this.
Change-Id: Ie98bd961195acde49598b4fa3f9e7d90d757c0a6
Reviewed-on: https://go-review.googlesource.com/30018
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Diffstat (limited to 'src/runtime/trace.go')
-rw-r--r-- | src/runtime/trace.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/trace.go b/src/runtime/trace.go index 707e4c617b..b64debcac4 100644 --- a/src/runtime/trace.go +++ b/src/runtime/trace.go @@ -28,8 +28,8 @@ const ( traceEvProcStop = 6 // stop of P [timestamp] traceEvGCStart = 7 // GC start [timestamp, seq, stack id] traceEvGCDone = 8 // GC done [timestamp] - traceEvGCScanStart = 9 // GC scan start [timestamp] - traceEvGCScanDone = 10 // GC scan done [timestamp] + traceEvGCScanStart = 9 // GC mark termination start [timestamp] + traceEvGCScanDone = 10 // GC mark termination done [timestamp] traceEvGCSweepStart = 11 // GC sweep start [timestamp, stack id] traceEvGCSweepDone = 12 // GC sweep done [timestamp] traceEvGoCreate = 13 // goroutine creation [timestamp, new goroutine id, new stack id, stack id] |