From e1ce056b75770a01efdeeb25151d2ee603ab1b25 Mon Sep 17 00:00:00 2001 From: kinggo <1510613524@qq.com> Date: Mon, 20 Dec 2021 11:27:38 +0800 Subject: [PATCH] runtime: mgcmark.go typo fix: cyle -> cycle --- src/runtime/mgcmark.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go index a15c62cc49..68acfd4d49 100644 --- a/src/runtime/mgcmark.go +++ b/src/runtime/mgcmark.go @@ -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