aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mbitmap.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2018-02-22 12:35:30 -0500
committerAustin Clements <austin@google.com>2018-02-23 21:59:48 +0000
commit33b76920ec3bde98e58e0a6cb0816eb7be28bb4e (patch)
tree6e0951176a1cf6949183210d5d025a387d538540 /src/runtime/mbitmap.go
parent9680980efe66fc91d838fa9a06077f6ee87f0759 (diff)
downloadgo-33b76920ec3bde98e58e0a6cb0816eb7be28bb4e.tar.gz
go-33b76920ec3bde98e58e0a6cb0816eb7be28bb4e.zip
runtime: rename "arena index" to "arena map"
There are too many places where I want to talk about "indexing into the arena index". Make this less awkward and ambiguous by calling it the "arena map" instead. Change-Id: I726b0667bb2139dbc006175a0ec09a871cdf73f9 Reviewed-on: https://go-review.googlesource.com/96777 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/runtime/mbitmap.go')
-rw-r--r--src/runtime/mbitmap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go
index 1b17740f49..85d79c685b 100644
--- a/src/runtime/mbitmap.go
+++ b/src/runtime/mbitmap.go
@@ -146,7 +146,7 @@ type heapBits struct {
}
// Make the compiler check that heapBits.arena is large enough to hold
-// the maximum arena index.
+// the maximum arena frame number.
var _ = heapBits{arena: (1<<heapAddrBits)/heapArenaBytes - 1}
// markBits provides access to the mark bit for an object in the heap.