From: Cherry Zhang Date: Fri, 30 Oct 2020 22:44:22 +0000 (-0400) Subject: runtime: remove residual !go115NewMCentralImpl fields X-Git-Tag: go1.16beta1~369 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9933f6655589b1da9da7f61f04f74d921a2d67bf;p=gostls13.git runtime: remove residual !go115NewMCentralImpl fields Change-Id: I1685721c82be4ac3c854084592e5e0f182b367ef Reviewed-on: https://go-review.googlesource.com/c/go/+/266858 Trust: Cherry Zhang Run-TryBot: Cherry Zhang TryBot-Result: Go Bot Reviewed-by: Michael Knyszek --- diff --git a/src/runtime/mcentral.go b/src/runtime/mcentral.go index 97fe92c2ab..cd20dec539 100644 --- a/src/runtime/mcentral.go +++ b/src/runtime/mcentral.go @@ -20,10 +20,6 @@ import "runtime/internal/atomic" type mcentral struct { spanclass spanClass - // For !go115NewMCentralImpl. - nonempty mSpanList // list of spans with a free object, ie a nonempty free list - empty mSpanList // list of spans with no free objects (or cached in an mcache) - // partial and full contain two mspan sets: one of swept in-use // spans, and one of unswept in-use spans. These two trade // roles on each GC cycle. The unswept set is drained either by