From ccafdee9440b06232cdfca83099bf0aeff62a4c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Ckinggo=E2=80=9D?= <1510613524@qq.com> Date: Mon, 20 Dec 2021 13:49:48 +0800 Subject: [PATCH] runtime: mgcsweep.go typo fix: cyle -> cycle --- src/runtime/mgcsweep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/mgcsweep.go b/src/runtime/mgcsweep.go index fdbec30cf1..a46f4ec2c6 100644 --- a/src/runtime/mgcsweep.go +++ b/src/runtime/mgcsweep.go @@ -393,7 +393,7 @@ func sweepone() uintptr { // The scavenger is signaled by the last sweeper because once // sweeping is done, we will definitely have useful work for // the scavenger to do, since the scavenger only runs over the - // heap once per GC cyle. This update is not done during sweep + // heap once per GC cycle. This update is not done during sweep // termination because in some cases there may be a long delay // between sweep done and sweep termination (e.g. not enough // allocations to trigger a GC) which would be nice to fill in