diff options
author | Michael Anthony Knyszek <mknyszek@google.com> | 2018-11-05 19:26:25 +0000 |
---|---|---|
committer | Michael Knyszek <mknyszek@google.com> | 2018-11-05 22:56:22 +0000 |
commit | 44dcb5cb61aee5435e0b3c78544a1d3352a4cc98 (patch) | |
tree | dc4ae82bad1806096b783cd12aaed3f4eb98985d /src/runtime/mcache.go | |
parent | 9c89923266a372e9357dc3296b6c53bb931dd4a9 (diff) | |
download | go-44dcb5cb61aee5435e0b3c78544a1d3352a4cc98.tar.gz go-44dcb5cb61aee5435e0b3c78544a1d3352a4cc98.zip |
runtime: clean up MSpan* MCache* MCentral* in docs
This change cleans up references to MSpan, MCache, and MCentral in the
docs via a bunch of sed invocations to better reflect the Go names for
the equivalent structures (i.e. mspan, mcache, mcentral) and their
methods (i.e. MSpan_Sweep -> mspan.sweep).
Change-Id: Ie911ac975a24bd25200a273086dd835ab78b1711
Reviewed-on: https://go-review.googlesource.com/c/147557
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/mcache.go')
-rw-r--r-- | src/runtime/mcache.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mcache.go b/src/runtime/mcache.go index e20e92cdf4..7895e489bc 100644 --- a/src/runtime/mcache.go +++ b/src/runtime/mcache.go @@ -79,7 +79,7 @@ type stackfreelist struct { size uintptr // total size of stacks in list } -// dummy MSpan that contains no free objects. +// dummy mspan that contains no free objects. var emptymspan mspan func allocmcache() *mcache { |