From: Peter Feichtinger Date: Fri, 24 Nov 2023 12:15:54 +0000 (+0000) Subject: runtime: docfix countAlloc X-Git-Tag: go1.22rc1~138 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c418da34cd82e041066259af123e6e36e7c2915f;p=gostls13.git runtime: docfix countAlloc fix typo in `countAlloc` doc Change-Id: I9f0752412b7a7dfae4915870edeab4ac52e38b2d GitHub-Last-Rev: 6080d3c03ba6cacb1874af9724cfeb7cae27b78f GitHub-Pull-Request: golang/go#64357 Reviewed-on: https://go-review.googlesource.com/c/go/+/544755 Reviewed-by: Michael Pratt Reviewed-by: Hiro Hamada Reviewed-by: Michael Knyszek Auto-Submit: Michael Knyszek LUCI-TryBot-Result: Go LUCI --- diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index a0402d2933..cdd1c5fc3b 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -441,7 +441,7 @@ func typeBitsBulkBarrier(typ *_type, dst, src, size uintptr) { } // countAlloc returns the number of objects allocated in span s by -// scanning the allocation bitmap. +// scanning the mark bitmap. func (s *mspan) countAlloc() int { count := 0 bytes := divRoundUp(uintptr(s.nelems), 8)