From: Austin Clements Date: Mon, 5 Oct 2015 01:34:27 +0000 (-0400) Subject: runtime: fix comment for gcAssistAlloc X-Git-Tag: go1.6beta1~873 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3271250ec46a9c20ec46c78b992a2bcd742376c2;p=gostls13.git runtime: fix comment for gcAssistAlloc Change-Id: I312e56e95d8ef8ae036d16444ab1e2df1285845d Reviewed-on: https://go-review.googlesource.com/15403 Reviewed-by: Russ Cox --- diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go index cdcca5797c..261788c9d8 100644 --- a/src/runtime/mgcmark.go +++ b/src/runtime/mgcmark.go @@ -202,7 +202,7 @@ func markrootSpans(gcw *gcWork, shard int) { // allowAssist is true, may assist GC scanning in proportion to the // allocations performed by this mutator since the last assist. // -// It should only be called if gcAssistAlloc != 0. +// It should only be called if gcBlackenEnabled != 0. // // This must be called with preemption disabled. //go:nowritebarrier