1
0
mirror of https://github.com/golang/go synced 2024-11-23 23:40:13 -07:00

runtime: fix out-of-date comment on gcWork usage

Change-Id: I3c21ffa80a5c14911e07238b1f64bec686ed7b72
Reviewed-on: https://go-review.googlesource.com/14980
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Austin Clements 2015-09-24 14:24:32 -04:00
parent f35310edff
commit 1b84bb8c7c

View File

@ -51,7 +51,7 @@ func (wp wbufptr) ptr() *workbuf {
// (preemption must be disabled)
// gcw := &getg().m.p.ptr().gcw
// .. call gcw.put() to produce and gcw.get() to consume ..
// if gcphase == _GCmarktermination {
// if gcBlackenPromptly {
// gcw.dispose()
// }
//