diff --git a/src/runtime/mgcwork.go b/src/runtime/mgcwork.go index 970020ece48..ecf603a739a 100644 --- a/src/runtime/mgcwork.go +++ b/src/runtime/mgcwork.go @@ -419,7 +419,7 @@ func getfull(entry int) *workbuf { xadd(&work.nwait, +1) for i := 0; ; i++ { - if work.full != 0 { + if work.full != 0 || work.partial != 0 { xadd(&work.nwait, -1) b = (*workbuf)(lfstackpop(&work.full)) if b == nil {