aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mheap.go
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2019-11-15 19:49:30 +0000
committerIan Lance Taylor <iant@golang.org>2019-11-15 21:04:43 +0000
commit440f7d64048cd94cba669e16fe92137ce6b84073 (patch)
tree29b5d5240c55d6065b8341c2dd25ac84ca09f4a2 /src/runtime/mheap.go
parentd856e05d64591d3dec6411e3d86fe325e85eecc5 (diff)
downloadgo-440f7d64048cd94cba669e16fe92137ce6b84073.tar.gz
go-440f7d64048cd94cba669e16fe92137ce6b84073.zip
all: fix a bunch of misspellings
Change-Id: I5b909df0fd048cd66c5a27fca1b06466d3bcaac7 GitHub-Last-Rev: 778c5d21311abee09a5fbda2e4005a5fd4cc3f9f GitHub-Pull-Request: golang/go#35624 Reviewed-on: https://go-review.googlesource.com/c/go/+/207421 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/mheap.go')
-rw-r--r--src/runtime/mheap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mheap.go b/src/runtime/mheap.go
index e87da93326..3f3e36728b 100644
--- a/src/runtime/mheap.go
+++ b/src/runtime/mheap.go
@@ -1419,7 +1419,7 @@ func (h *mheap) freeSpanLocked(s *mspan, acctinuse, acctidle bool) {
// unscav and adds it into scav before continuing.
func (h *mheap) scavengeAll() {
// Disallow malloc or panic while holding the heap lock. We do
- // this here because this is an non-mallocgc entry-point to
+ // this here because this is a non-mallocgc entry-point to
// the mheap API.
gp := getg()
gp.m.mallocing++