diff options
| author | cui fliter <imcusg@gmail.com> | 2023-03-11 10:33:57 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-03-13 16:49:45 +0000 |
| commit | 50ba90bce575f94ccf9a64357e9b0ababa3c9d2f (patch) | |
| tree | 3ef2eb2dd560c6663564f0d46e85ba558a5a20ae /src/runtime | |
| parent | c67a27bf7520ae9440a665e80c7c3891bafb33d4 (diff) | |
| download | go-50ba90bce575f94ccf9a64357e9b0ababa3c9d2f.tar.xz | |
all: fix some problematic comments
Change-Id: Ia110d19fe5ff3adc8bbf86dd2112f9702164d495
Reviewed-on: https://go-review.googlesource.com/c/go/+/475515
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/mfixalloc.go | 2 | ||||
| -rw-r--r-- | src/runtime/mspanset.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/mfixalloc.go b/src/runtime/mfixalloc.go index 8788d95c00..1a249e5981 100644 --- a/src/runtime/mfixalloc.go +++ b/src/runtime/mfixalloc.go @@ -13,7 +13,7 @@ import ( "unsafe" ) -// FixAlloc is a simple free-list allocator for fixed size objects. +// fixalloc is a simple free-list allocator for fixed size objects. // Malloc uses a FixAlloc wrapped around sysAlloc to manage its // mcache and mspan objects. // diff --git a/src/runtime/mspanset.go b/src/runtime/mspanset.go index abbd4501b1..5520d6ce75 100644 --- a/src/runtime/mspanset.go +++ b/src/runtime/mspanset.go @@ -322,7 +322,7 @@ func (p *spanSetBlockAlloc) free(block *spanSetBlock) { p.stack.push(&block.lfnode) } -// haidTailIndex represents a combined 32-bit head and 32-bit tail +// headTailIndex represents a combined 32-bit head and 32-bit tail // of a queue into a single 64-bit value. type headTailIndex uint64 |
