]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: mgcmark.go typo fix: gorountine -> goroutine.
authordoujiang24 <doujiang24@gmail.com>
Sun, 30 Jan 2022 06:16:03 +0000 (06:16 +0000)
committerAustin Clements <austin@google.com>
Mon, 31 Jan 2022 21:35:27 +0000 (21:35 +0000)
Change-Id: I5cd980a7c825619cc782a3bca2a1c9c7971fdca2
GitHub-Last-Rev: 6833eedf2dab77f7263f9803839a64b79f57e43e
GitHub-Pull-Request: golang/go#50910
Reviewed-on: https://go-review.googlesource.com/c/go/+/381959
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgcmark.go

index 68acfd4d498fa9aa5f3737eafc449f76ab3aab37..0bf044e3143b339c211150b44e550bb67f56373b 100644 (file)
@@ -401,7 +401,7 @@ func markrootSpans(gcw *gcWork, shard int) {
 }
 
 // gcAssistAlloc performs GC work to make gp's assist debt positive.
-// gp must be the calling user gorountine.
+// gp must be the calling user goroutine.
 //
 // This must be called with preemption enabled.
 func gcAssistAlloc(gp *g) {