]> Cypherpunks repositories - gostls13.git/commit
runtime: fix another out of date comment in GC
authorAustin Clements <austin@google.com>
Fri, 20 Mar 2015 17:21:51 +0000 (13:21 -0400)
committerAustin Clements <austin@google.com>
Tue, 31 Mar 2015 01:05:31 +0000 (01:05 +0000)
commita4374c1de1d4fd924a11e055ca55efde11b258da
tree3dc244a35da8117851779cd2862051baa525a579
parent6262192cd0fb98d6bb80752de70ae33fc10dc33e
runtime: fix another out of date comment in GC

gcDrain used to be passed a *workbuf to start draining from, but now
it takes a gcWork, which hides whether or not there's an initial
workbuf. Update the comment to match this.

Change-Id: I976b58e5bfebc451cfd4fa75e770113067b5cc07
Reviewed-on: https://go-review.googlesource.com/8246
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgcmark.go