aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2025-10-30 12:01:03 -0400
committerGopher Robot <gobot@golang.org>2025-10-30 09:16:21 -0700
commit33eb0443703c5520d585fe6fbe64c5ff3f99f158 (patch)
treede92d07be87983fa2f42667be302d1eb11e85632
parent88275865e9aa07c97e20fa67f69b0468cfa20e88 (diff)
downloadgo-x-website-33eb0443703c5520d585fe6fbe64c5ff3f99f158.tar.xz
_content/blog/greenteagc: explain what a page is
Change-Id: Id889dd577988cddc65124a32b42b7e1bab2fc621 Reviewed-on: https://go-review.googlesource.com/c/website/+/716501 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Austin Clements <austin@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
-rw-r--r--_content/blog/greenteagc.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/_content/blog/greenteagc.md b/_content/blog/greenteagc.md
index dd3f8d23..4fc22601 100644
--- a/_content/blog/greenteagc.md
+++ b/_content/blog/greenteagc.md
@@ -274,7 +274,10 @@ which will better highlight differences between the diagrams.
<img src="greenteagc/marksweep-015.png" />
<figcaption>
You'll also notice that objects are grouped together by these labeled, dotted rounded rectangles.
- Each of these represents a page: a contiguous block of memory.
+ Each of these represents a <i>page</i>, which is a contiguous
+ block of fixed-size, aligned memory.
+ In Go, pages are 8 KiB (regardless of the hardware virtual
+ memory page size).
These pages are labeled A, B, C, and D, and I'll refer to them that way.
</figcaption>
</figure>