From: Jakub Ciolek Date: Wed, 27 Jul 2022 07:02:17 +0000 (+0200) Subject: runtime: remove the started field from sweepdata X-Git-Tag: go1.20rc1~370 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2df6c1abce8cfd3f47ed5eb5a45733d7cbb53b4b;p=gostls13.git runtime: remove the started field from sweepdata This bool doesn't seem to be used anymore. Remove it. Change-Id: Ic73346a98513c392d89482c5e1d818a90d713516 Reviewed-on: https://go-review.googlesource.com/c/go/+/419654 Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Michael Knyszek Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- diff --git a/src/runtime/mgcsweep.go b/src/runtime/mgcsweep.go index 6da6dbea20..4b92ef938c 100644 --- a/src/runtime/mgcsweep.go +++ b/src/runtime/mgcsweep.go @@ -33,10 +33,9 @@ var sweep sweepdata // State of background sweep. type sweepdata struct { - lock mutex - g *g - parked bool - started bool + lock mutex + g *g + parked bool nbgsweep uint32 npausesweep uint32