mirror of https://github.com/golang/go.git
runtime: mgcmark.go typo fix: cyle -> cycle
This commit is contained in:
parent
87b2a54827
commit
e1ce056b75
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue