]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: remove duplicate check of work.full in gcMark.
authorj2gg0s <j2gg0s@gmail.com>
Wed, 18 Jan 2023 15:08:29 +0000 (15:08 +0000)
committerKeith Randall <khr@google.com>
Mon, 23 Jan 2023 18:00:36 +0000 (18:00 +0000)
Change-Id: I659669d7259e7cf73f730232cda11d8525a4aabc
GitHub-Last-Rev: 5d183e81285aba64f1f76e5bddbe2f0ae012b138
GitHub-Pull-Request: golang/go#57901
Reviewed-on: https://go-review.googlesource.com/c/go/+/462281
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/mgc.go

index 1b057070aaf20c6b2267478b5571443e0ad7e593..169999460ab50e162292d4e8cd4167ebb784820e 100644 (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