runtime: mgcmark.go typo fix: cyle -> cycle

This commit is contained in:
kinggo 2021-12-20 11:27:38 +08:00
parent 87b2a54827
commit e1ce056b75
1 changed files with 1 additions and 1 deletions

View File

@ -1561,7 +1561,7 @@ func gcmarknewobject(span *mspan, obj, size, scanSize uintptr) {
if !goexperiment.PacerRedesign {
// The old pacer counts newly allocated memory toward
// heapScanWork because heapScan is continuously updated
// throughout the GC cyle with newly allocated memory. However,
// throughout the GC cycle with newly allocated memory. However,
// these objects are never actually scanned, so we need
// to account for them in heapScanWork here, "faking" their work.
// Otherwise the pacer will think it's always behind, potentially