]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove obsolete comment from scanobject
authorAustin Clements <austin@google.com>
Wed, 11 May 2016 20:29:07 +0000 (16:29 -0400)
committerAustin Clements <austin@google.com>
Mon, 16 May 2016 18:28:35 +0000 (18:28 +0000)
Change-Id: I5ebf93b60213c0138754fc20888ae5ce60237b8c
Reviewed-on: https://go-review.googlesource.com/23131
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgcmark.go

index af3205ab2332bfcd28f8fab1be9097d54e367bbd..5d947fb59e6d50b18bca5e89f9ff44ef850d11e3 100644 (file)
@@ -1096,7 +1096,7 @@ func scanblock(b0, n0 uintptr, ptrmask *uint8, gcw *gcWork) {
 // scanobject scans the object starting at b, adding pointers to gcw.
 // 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
-// object (it ignores n).
+// object.
 //go:nowritebarrier
 func scanobject(b uintptr, gcw *gcWork) {
        // Note that arena_used may change concurrently during