diff options
author | Leonard Wang <wangdeyu0907@gmail.com> | 2021-04-16 23:30:59 +0800 |
---|---|---|
committer | Emmanuel Odeke <emmanuel@orijtech.com> | 2021-04-16 21:50:38 +0000 |
commit | 94817890c221b8abdbb24f52e92e5a7882c3f870 (patch) | |
tree | e6facb0efb16aae33910c491513067df91f89e7d /src/runtime/mgc.go | |
parent | b05903a9f6408065c390ea6c62e523d9f51853a5 (diff) | |
download | go-94817890c221b8abdbb24f52e92e5a7882c3f870.tar.gz go-94817890c221b8abdbb24f52e92e5a7882c3f870.zip |
runtime: remove useless nFlushCacheRoots
Change-Id: I70cb8f8e9a0eec68ea11f22ca8699aa7e0c91ede
Reviewed-on: https://go-review.googlesource.com/c/go/+/310710
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'src/runtime/mgc.go')
-rw-r--r-- | src/runtime/mgc.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index e4bbf1f016..601593087d 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -325,11 +325,9 @@ var work struct { nwait uint32 // Number of roots of various root types. Set by gcMarkRootPrepare. - nFlushCacheRoots int nDataRoots, nBSSRoots, nSpanRoots, nStackRoots int // Base indexes of each root type. Set by gcMarkRootPrepare. - baseFlushCache uint32 baseData, baseBSS, baseSpans, baseStacks, baseEnd uint32 // Each type of GC state transition is protected by a lock. |