From: Austin Clements Date: Thu, 24 Sep 2015 18:24:32 +0000 (-0400) Subject: runtime: fix out-of-date comment on gcWork usage X-Git-Tag: go1.6beta1~929 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1b84bb8c7cefb29e8aa976504905a7bdc1c74e6f;p=gostls13.git runtime: fix out-of-date comment on gcWork usage Change-Id: I3c21ffa80a5c14911e07238b1f64bec686ed7b72 Reviewed-on: https://go-review.googlesource.com/14980 Reviewed-by: Minux Ma --- diff --git a/src/runtime/mgcwork.go b/src/runtime/mgcwork.go index b18eaafba8..9c363c6703 100644 --- a/src/runtime/mgcwork.go +++ b/src/runtime/mgcwork.go @@ -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() // } //