From a6f3f8d97306dc77144b6d3be8cf706c11e2de8f Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 17 May 2022 17:09:28 +0000 Subject: all: fix spelling Change-Id: I68538a50c22b02cdb5aa2a889f9440fed7b94c54 GitHub-Last-Rev: aaac9e78340ac482e9cd1b506a035f271c29648c GitHub-Pull-Request: golang/go#52944 Reviewed-on: https://go-review.googlesource.com/c/go/+/406835 Reviewed-by: Bryan Mills Reviewed-by: Robert Griesemer TryBot-Result: Gopher Robot Run-TryBot: Bryan Mills Auto-Submit: Bryan Mills --- src/runtime/mgcpacer.go | 2 +- src/runtime/pprof/label.go | 2 +- src/runtime/race_ppc64le.s | 2 +- src/runtime/sys_aix_ppc64.s | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/runtime') diff --git a/src/runtime/mgcpacer.go b/src/runtime/mgcpacer.go index 9fbbe83c6b..7acedfcded 100644 --- a/src/runtime/mgcpacer.go +++ b/src/runtime/mgcpacer.go @@ -1044,7 +1044,7 @@ func (c *gcControllerState) memoryLimitHeapGoal() uint64 { // // Let's take a step back. In an ideal world, this term would look something like just // the heap goal. That is, we "reserve" enough space for the heap to grow to the heap - // goal, and subtract out everything else. This is of course impossible; the defintion + // goal, and subtract out everything else. This is of course impossible; the definition // is circular! However, this impossible definition contains a key insight: the amount // we're *going* to use matters just as much as whatever we're currently using. // diff --git a/src/runtime/pprof/label.go b/src/runtime/pprof/label.go index b614f12544..0c58a7ac47 100644 --- a/src/runtime/pprof/label.go +++ b/src/runtime/pprof/label.go @@ -37,7 +37,7 @@ func labelValue(ctx context.Context) labelMap { // that admits incremental immutable modification more efficiently. type labelMap map[string]string -// String statisfies Stringer and returns key, value pairs in a consistent +// String satisfies Stringer and returns key, value pairs in a consistent // order. func (l *labelMap) String() string { if l == nil { diff --git a/src/runtime/race_ppc64le.s b/src/runtime/race_ppc64le.s index a1bf3665ad..ac335b1819 100644 --- a/src/runtime/race_ppc64le.s +++ b/src/runtime/race_ppc64le.s @@ -410,7 +410,7 @@ racecallatomic_ignore: BL racecall<>(SB) // Call __tsan_go_ignore_sync_end. MOVD $__tsan_go_ignore_sync_end(SB), R8 - MOVD g_racectx(g), R3 // goroutine context g should sitll be good? + MOVD g_racectx(g), R3 // goroutine context g should still be good? BL racecall<>(SB) RET diff --git a/src/runtime/sys_aix_ppc64.s b/src/runtime/sys_aix_ppc64.s index 772f357ca9..ab18c5eb00 100644 --- a/src/runtime/sys_aix_ppc64.s +++ b/src/runtime/sys_aix_ppc64.s @@ -22,7 +22,7 @@ TEXT callCfunction<>(SB), NOSPLIT|NOFRAME,$0 // asmsyscall6 calls a library function with a function descriptor -// stored in libcall_fn and store the results in libcall struture +// stored in libcall_fn and store the results in libcall structure // Up to 6 arguments can be passed to this C function // Called by runtime.asmcgocall // It reserves a stack of 288 bytes for the C function. It must -- cgit v1.3-5-g9baa