aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mgcmark.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2015-10-29 22:40:36 -0400
committerAustin Clements <austin@google.com>2015-11-11 01:04:39 +0000
commitf84420c20daddf5f0a3e73f64bd2d39cebd22218 (patch)
treec03a7f680661e8e520e44dbd9b42af5fa6be8335 /src/runtime/mgcmark.go
parent56ad88b1ffe567d6072e3d25d7b02da18af9f842 (diff)
downloadgo-f84420c20daddf5f0a3e73f64bd2d39cebd22218.tar.xz
runtime: clean up park messages
This changes "mark worker (idle)" to "GC worker (idle)" so it's more clear to users that these goroutines are GC-related. It changes "GC assist" to "GC assist wait" to make it clear that the assist is blocked. Change-Id: Iafbc0903c84f9250ff6bee14baac6fcd4ed5ef76 Reviewed-on: https://go-review.googlesource.com/16511 Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/runtime/mgcmark.go')
-rw-r--r--src/runtime/mgcmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go
index f03441b2f9..f1a92e0be2 100644
--- a/src/runtime/mgcmark.go
+++ b/src/runtime/mgcmark.go
@@ -482,7 +482,7 @@ retry:
goto retry
}
// Park for real.
- goparkunlock(&work.assistQueue.lock, "GC assist", traceEvGoBlock, 2)
+ goparkunlock(&work.assistQueue.lock, "GC assist wait", traceEvGoBlock, 2)
// At this point either background GC has satisfied
// this G's assist debt, or the GC cycle is over.