diff options
| author | j2gg0s <j2gg0s@gmail.com> | 2023-01-18 15:08:29 +0000 |
|---|---|---|
| committer | Keith Randall <khr@google.com> | 2023-01-23 18:00:36 +0000 |
| commit | 9411075748e305d0b31372cab48bc4ca2dd745fb (patch) | |
| tree | b9880c7abbc316ec7867b8315a908056c7592bae | |
| parent | e22bd2348c8e3bfdf12197d0b0e194b66bbf5a36 (diff) | |
| download | go-9411075748e305d0b31372cab48bc4ca2dd745fb.tar.xz | |
runtime: remove duplicate check of work.full in gcMark.
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>
| -rw-r--r-- | src/runtime/mgc.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 1b057070aa..169999460a 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -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 |
