mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
9108ae7751
commit
d398dbdfc3
6 changed files with 5 additions and 54 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue