mirror of
https://github.com/golang/go
synced 2024-11-19 10:44:47 -07:00
runtime: fix out of date comment
scanobject no longer returns the new wbuf. Change-Id: I0da335ae5cd7ef7ea0e0fa965cf0e9f3a650d0e6 Reviewed-on: https://go-review.googlesource.com/7505 Reviewed-by: Rick Hudson <rlh@golang.org>
This commit is contained in:
parent
e5be6432a8
commit
830abc957a
@ -408,7 +408,6 @@ func scanblock(b0, n0 uintptr, ptrmask *uint8, gcw *gcWorkProducer) {
|
||||
}
|
||||
|
||||
// Scan the object b of size n bytes, adding pointers to wbuf.
|
||||
// Return possibly new wbuf to use.
|
||||
// If ptrmask != nil, it specifies where pointers are in b.
|
||||
// If ptrmask == nil, the GC bitmap should be consulted.
|
||||
// In this case, n may be an overestimate of the size; the GC bitmap
|
||||
|
Loading…
Reference in New Issue
Block a user