Commit 1b84bb8c authored by Austin Clements's avatar Austin Clements

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

Change-Id: I3c21ffa80a5c14911e07238b1f64bec686ed7b72
Reviewed-on: https://go-review.googlesource.com/14980Reviewed-by: 's avatarMinux Ma <minux@golang.org>
parent f35310ed
......@@ -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()
// }
//
......
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