diff options
| author | Austin Clements <austin@google.com> | 2018-08-09 15:25:10 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2018-10-02 20:35:21 +0000 |
| commit | d398dbdfc38838b63e39cd8ee2c9d30a09b5989f (patch) | |
| tree | c2979b2bfeb29725fec47be583075e0a9d9f7f20 /src/runtime/mgcwork.go | |
| parent | 9108ae775145a4ecd086f04eb5c45155d8636298 (diff) | |
| download | go-d398dbdfc38838b63e39cd8ee2c9d30a09b5989f.tar.xz | |
runtime: eliminate gcBlackenPromptly mode
Now that there is no mark 2 phase, gcBlackenPromptly is no longer
used.
Updates #26903. This is a follow-up to eliminating mark 2.
Change-Id: Ib9c534f21b36b8416fcf3cab667f186167b827f8
Reviewed-on: https://go-review.googlesource.com/c/134319
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/runtime/mgcwork.go')
| -rw-r--r-- | src/runtime/mgcwork.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/mgcwork.go b/src/runtime/mgcwork.go index 27e73d6c4a..3a99260e53 100644 --- a/src/runtime/mgcwork.go +++ b/src/runtime/mgcwork.go @@ -47,9 +47,6 @@ func init() { // (preemption must be disabled) // gcw := &getg().m.p.ptr().gcw // .. call gcw.put() to produce and gcw.get() to consume .. -// if gcBlackenPromptly { -// gcw.dispose() -// } // // It's important that any use of gcWork during the mark phase prevent // the garbage collector from transitioning to mark termination since |
