aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorJohn Bampton <jbampton@gmail.com>2022-05-17 17:09:28 +0000
committerGopher Robot <gobot@golang.org>2022-05-17 19:51:29 +0000
commita6f3f8d97306dc77144b6d3be8cf706c11e2de8f (patch)
tree97640eee93a01cc7e3d906cb1bf6a16cc2934309 /src/runtime
parentc25c37137db98323510752f53e93128809a8767c (diff)
downloadgo-a6f3f8d97306dc77144b6d3be8cf706c11e2de8f.tar.xz
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 <bcmills@google.com> Reviewed-by: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/mgcpacer.go2
-rw-r--r--src/runtime/pprof/label.go2
-rw-r--r--src/runtime/race_ppc64le.s2
-rw-r--r--src/runtime/sys_aix_ppc64.s2
4 files changed, 4 insertions, 4 deletions
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