Commit 3271250e authored by Austin Clements's avatar Austin Clements

runtime: fix comment for gcAssistAlloc

Change-Id: I312e56e95d8ef8ae036d16444ab1e2df1285845d
Reviewed-on: https://go-review.googlesource.com/15403Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
parent 3e57b17d
......@@ -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
......
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