1
0
mirror of https://github.com/golang/go synced 2024-11-27 04:11:22 -07:00

runtime: remove duplicate check of work.full in gcMark.

This commit is contained in:
j2gg0s 2023-01-18 22:20:04 +08:00
parent 7026a8a1a9
commit 5d183e8128

View File

@ -1449,9 +1449,6 @@ func gcMark(startTime int64) {
// Gs, so only do it if checkmark is also enabled.
gcMarkRootCheck()
}
if work.full != 0 {
throw("work.full != 0")
}
// Drop allg snapshot. allgs may have grown, in which case
// this is the only reference to the old backing store and