Skip to content

Commit

Permalink
runtime: fix out-of-date comment on gcWork usage
Browse files Browse the repository at this point in the history
Change-Id: I3c21ffa80a5c14911e07238b1f64bec686ed7b72
Reviewed-on: https://go-review.googlesource.com/14980
Reviewed-by: Minux Ma <[email protected]>
  • Loading branch information
aclements committed Oct 2, 2015
1 parent f35310e commit 1b84bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/mgcwork.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
// }
//
Expand Down

0 comments on commit 1b84bb8

Please sign in to comment.