From: 徐志伟 Date: Mon, 29 Mar 2021 18:22:15 +0000 (+0000) Subject: runtime: fix some typos X-Git-Tag: go1.17beta1~941 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9fbd0f64d8;p=gostls13.git runtime: fix some typos Change-Id: I31f2081eb7c30a9583f479f9194e636fe721b9b3 GitHub-Last-Rev: d09f5fbdc5785dc3963b22ad75309740e0de258e GitHub-Pull-Request: golang/go#45278 Reviewed-on: https://go-review.googlesource.com/c/go/+/305231 Reviewed-by: Emmanuel Odeke Reviewed-by: Ian Lance Taylor Run-TryBot: Emmanuel Odeke TryBot-Result: Go Bot --- diff --git a/src/runtime/mgcwork.go b/src/runtime/mgcwork.go index b3a068661e..667c7afa97 100644 --- a/src/runtime/mgcwork.go +++ b/src/runtime/mgcwork.go @@ -398,7 +398,7 @@ func getempty() *workbuf { } // putempty puts a workbuf onto the work.empty list. -// Upon entry this go routine owns b. The lfstack.push relinquishes ownership. +// Upon entry this goroutine owns b. The lfstack.push relinquishes ownership. //go:nowritebarrier func putempty(b *workbuf) { b.checkempty() diff --git a/src/runtime/proc.go b/src/runtime/proc.go index 89d36321a6..c2edb40948 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -6231,7 +6231,7 @@ func doInit(t *initTask) { if inittrace.active { end := nanotime() - // Load stats non-atomically since tracinit is updated only by this init go routine. + // Load stats non-atomically since tracinit is updated only by this init goroutine. after := inittrace pkg := funcpkgpath(findfunc(funcPC(firstFunc))) diff --git a/src/runtime/sys_windows_arm.s b/src/runtime/sys_windows_arm.s index 275b827fcb..22c6d63bdd 100644 --- a/src/runtime/sys_windows_arm.s +++ b/src/runtime/sys_windows_arm.s @@ -157,7 +157,7 @@ g0: MOVW R2, 4(R13) // Move arg0 (ExceptionRecord) into position MOVW R3, 8(R13) // Move arg1 (ContextRecord) into position MOVW R5, 12(R13) // Move arg2 (original g) into position - BL (R7) // Call the go routine + BL (R7) // Call the goroutine MOVW 16(R13), R4 // Fetch return value from stack // Save system stack pointer for sigresume setup below.