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/stack.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/stack.go')
| -rw-r--r-- | src/runtime/stack.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go index d56b864c5e..fd9aafd15b 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -981,9 +981,6 @@ func newstack() { // system stack. gcw := &gp.m.p.ptr().gcw scanstack(gp, gcw) - if gcBlackenPromptly { - gcw.dispose() - } gp.gcscandone = true } gp.preemptscan = false |
