aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stack.go')
-rw-r--r--src/runtime/stack.go3
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