diff --git a/src/runtime/stack.go b/src/runtime/stack.go index 54ad66dca2..368ad6efa4 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -1198,7 +1198,6 @@ func shrinkstack(gp *g) { // freeStackSpans frees unused stack spans at the end of GC. func freeStackSpans() { - // Scan stack pools for empty stack spans. for order := range stackpool { lock(&stackpool[order].item.mu)