diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go index 294e3739b7..afaec55569 100644 --- a/src/runtime/mbitmap.go +++ b/src/runtime/mbitmap.go @@ -170,7 +170,7 @@ func (s *mspan) allocBitsForIndex(allocBitIndex uintptr) markBits { return markBits{bytep, mask, allocBitIndex} } -// refillaCache takes 8 bytes s.allocBits starting at whichByte +// refillAllocCache takes 8 bytes s.allocBits starting at whichByte // and negates them so that ctz (count trailing zeros) instructions // can be used. It then places these 8 bytes into the cached 64 bit // s.allocCache.