Commit 3e57b17d authored by Austin Clements's avatar Austin Clements

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/15402Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent 3be4d598
...@@ -351,7 +351,7 @@ type gcControllerState struct { ...@@ -351,7 +351,7 @@ type gcControllerState struct {
// dedicated mark workers get started. // dedicated mark workers get started.
dedicatedMarkWorkersNeeded int64 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 // that should be performed by mutator assists. This is
// computed at the beginning of each cycle and updated every // computed at the beginning of each cycle and updated every
// time heap_scan is updated. // time heap_scan is updated.
......
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