mirror of
https://github.com/golang/go
synced 2024-11-18 11:44:45 -07:00
runtime: fix comment for gcAssistAlloc
Change-Id: I312e56e95d8ef8ae036d16444ab1e2df1285845d Reviewed-on: https://go-review.googlesource.com/15403 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
3e57b17dc3
commit
3271250ec4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user