aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpagealloc.go
diff options
context:
space:
mode:
authorOleksandr Redko <oleksandr.red+github@gmail.com>2023-02-07 09:09:24 +0000
committerGopher Robot <gobot@golang.org>2023-02-08 14:52:12 +0000
commit1a09d57de58a90987789ef637083aac21533eeb7 (patch)
treef8ca020a37ce5365babf009d5d8208d54bfb882f /src/runtime/mpagealloc.go
parent0602e2cdbc4b42e90c453e6ae365ad5f13f61c92 (diff)
downloadgo-1a09d57de58a90987789ef637083aac21533eeb7.tar.xz
runtime: correct typos
- Fix typo in throw error message for arena. - Correct typos in assembly and Go comments. - Fix log message in TestTraceCPUProfile. Change-Id: I874c9e8cd46394448b6717bc6021aa3ecf319d16 GitHub-Last-Rev: d27fad4d3cea81cc7a4ca6917985bcf5fa49b0e0 GitHub-Pull-Request: golang/go#58375 Reviewed-on: https://go-review.googlesource.com/c/go/+/465975 Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/mpagealloc.go')
-rw-r--r--src/runtime/mpagealloc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mpagealloc.go b/src/runtime/mpagealloc.go
index 35b2a019a3..6b5583035b 100644
--- a/src/runtime/mpagealloc.go
+++ b/src/runtime/mpagealloc.go
@@ -279,7 +279,7 @@ type pageAlloc struct {
}
// mheap_.lock. This level of indirection makes it possible
- // to test pageAlloc indepedently of the runtime allocator.
+ // to test pageAlloc independently of the runtime allocator.
mheapLock *mutex
// sysStat is the runtime memstat to update when new system