mirror of
https://github.com/golang/go
synced 2024-11-18 08:54:45 -07:00
runtime: fix comment for assistRatio
The comment for assistRatio claimed it to be the reciprocal of what it actually is. Change-Id: If7f9bb853d75d0097facff3aa6704b224d9108b8 Reviewed-on: https://go-review.googlesource.com/15402 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
3be4d59820
commit
3e57b17dc3
@ -351,7 +351,7 @@ type gcControllerState struct {
|
||||
// dedicated mark workers get started.
|
||||
dedicatedMarkWorkersNeeded int64
|
||||
|
||||
// assistRatio is the ratio of allocated bytes to scan work
|
||||
// assistRatio is the ratio of scan work to allocated bytes
|
||||
// that should be performed by mutator assists. This is
|
||||
// computed at the beginning of each cycle and updated every
|
||||
// time heap_scan is updated.
|
||||
|
Loading…
Reference in New Issue
Block a user