Commit 30ded165 authored by Austin Clements's avatar Austin Clements

runtime: remove obsolete comment from scanobject

Change-Id: I5ebf93b60213c0138754fc20888ae5ce60237b8c
Reviewed-on: https://go-review.googlesource.com/23131Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
parent b66b97e0
...@@ -1096,7 +1096,7 @@ func scanblock(b0, n0 uintptr, ptrmask *uint8, gcw *gcWork) { ...@@ -1096,7 +1096,7 @@ func scanblock(b0, n0 uintptr, ptrmask *uint8, gcw *gcWork) {
// scanobject scans the object starting at b, adding pointers to gcw. // scanobject scans the object starting at b, adding pointers to gcw.
// b must point to the beginning of a heap object; scanobject consults // b must point to the beginning of a heap object; scanobject consults
// the GC bitmap for the pointer mask and the spans for the size of the // the GC bitmap for the pointer mask and the spans for the size of the
// object (it ignores n). // object.
//go:nowritebarrier //go:nowritebarrier
func scanobject(b uintptr, gcw *gcWork) { func scanobject(b uintptr, gcw *gcWork) {
// Note that arena_used may change concurrently during // Note that arena_used may change concurrently during
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment