commit | 1b84bb8c7cefb29e8aa976504905a7bdc1c74e6f | [log] [tgz] |
---|---|---|
author | Austin Clements <austin@google.com> | Thu Sep 24 14:24:32 2015 -0400 |
committer | Austin Clements <austin@google.com> | Fri Oct 02 19:55:34 2015 +0000 |
tree | 0051c2902997738eb9fc40adb602ede9c9a16936 | |
parent | f35310edff6a16fd247fab47cc4e37874a668c5d [diff] |
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>
diff --git a/src/runtime/mgcwork.go b/src/runtime/mgcwork.go index b18eaaf..9c363c6 100644 --- a/src/runtime/mgcwork.go +++ b/src/runtime/mgcwork.go
@@ -51,7 +51,7 @@ // (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() // } //