diff options
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/mgcscavenge.go | 2 | ||||
| -rw-r--r-- | src/runtime/runtime2.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/mgcscavenge.go b/src/runtime/mgcscavenge.go index e6725b4622..86c2103f18 100644 --- a/src/runtime/mgcscavenge.go +++ b/src/runtime/mgcscavenge.go @@ -307,7 +307,7 @@ type scavengerState struct { // See sleepRatio for more details. sleepController piController - // cooldown is the time left in nanoseconds during which we avoid + // controllerCooldown is the time left in nanoseconds during which we avoid // using the controller and we hold sleepRatio at a conservative // value. Used if the controller's assumptions fail to hold. controllerCooldown int64 diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 6d40c7c466..01f1a50670 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -857,7 +857,7 @@ type schedt struct { sysmonwait atomic.Bool sysmonnote note - // safepointFn should be called on each P at the next GC + // safePointFn should be called on each P at the next GC // safepoint if p.runSafePointFn is set. safePointFn func(*p) safePointWait int32 |
