aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/mgcsweep.go7
1 files changed, 3 insertions, 4 deletions
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