From: cuishuang Date: Sat, 14 Jun 2025 11:37:47 +0000 (+0800) Subject: runtime: fix struct comment X-Git-Tag: go1.25rc2~2^2~45 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3bf1eecbd3;p=gostls13.git runtime: fix struct comment Change-Id: I0c33830b13c8a187ac82504c7653abb8f8cf7530 Reviewed-on: https://go-review.googlesource.com/c/go/+/681655 Reviewed-by: Sean Liao Reviewed-by: Junyang Shao Reviewed-by: Michael Knyszek LUCI-TryBot-Result: Go LUCI Auto-Submit: Sean Liao --- diff --git a/src/runtime/mheap.go b/src/runtime/mheap.go index 3965d6eb52..f25dbb429d 100644 --- a/src/runtime/mheap.go +++ b/src/runtime/mheap.go @@ -312,8 +312,10 @@ type heapArena struct { // during marking. pageSpecials [pagesPerArena / 8]uint8 - // pageUseSpanDartboard is a bitmap that indicates which spans are - // heap spans and also gcUsesSpanDartboard. + // pageUseSpanInlineMarkBits is a bitmap where each bit corresponds + // to a span, as only spans one page in size can have inline mark bits. + // The bit indicates that the span has a spanInlineMarkBits struct + // stored directly at the top end of the span's memory. pageUseSpanInlineMarkBits [pagesPerArena / 8]uint8 // checkmarks stores the debug.gccheckmark state. It is only