From d398dbdfc38838b63e39cd8ee2c9d30a09b5989f Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 9 Aug 2018 15:25:10 -0400 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: Rick Hudson --- src/runtime/stack.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/runtime/stack.go') 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 -- cgit v1.3