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:
parent
7026a8a1a9
commit
5d183e8128
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user