]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove residual !go115NewMCentralImpl fields
authorCherry Zhang <cherryyz@google.com>
Fri, 30 Oct 2020 22:44:22 +0000 (18:44 -0400)
committerCherry Zhang <cherryyz@google.com>
Sat, 31 Oct 2020 17:29:05 +0000 (17:29 +0000)
Change-Id: I1685721c82be4ac3c854084592e5e0f182b367ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/266858
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/mcentral.go

index 97fe92c2ab3d3d35b5630b3c053a96521a1e6dd4..cd20dec5394d346bdd5bd95e895143a4b9af2bf0 100644 (file)
@@ -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