diff --git a/src/runtime/mgclimit.go b/src/runtime/mgclimit.go index 51c5506eee..ef3cc081ce 100644 --- a/src/runtime/mgclimit.go +++ b/src/runtime/mgclimit.go @@ -212,6 +212,7 @@ func (l *gcCPULimiterState) updateLocked(now int64) { fallthrough case limiterEventIdle: idleTime += duration + sched.idleTime.Add(duration) case limiterEventMarkAssist: fallthrough case limiterEventScavengeAssist: