aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mgc.go
diff options
context:
space:
mode:
authorTony Tang <jianfengtony@163.com>2025-12-07 01:02:32 +0000
committerKeith Randall <khr@golang.org>2026-01-30 18:35:34 -0800
commitacd65ebb13a11f1b070b63a66b35bb1b15934409 (patch)
tree0bcca912ee8a3e0b23a87d7558349dd7958c0e6f /src/runtime/mgc.go
parent045fe9aa8c7e175b5894b6f0c85d76a1ec27a91c (diff)
downloadgo-acd65ebb13a11f1b070b63a66b35bb1b15934409.tar.xz
runtime: delete unused parameter of userForced
delete unused parameter userForced Change-Id: I71c26ab5e3fadc532b6b1f266212c6f620769efd GitHub-Last-Rev: 6a32c8ff6e63f8b149c0803e8b6636022bd9d066 GitHub-Pull-Request: golang/go#76732 Reviewed-on: https://go-review.googlesource.com/c/go/+/727680 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Tony Tang <jianfeng.tony@gmail.com>
Diffstat (limited to 'src/runtime/mgc.go')
-rw-r--r--src/runtime/mgc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go
index a3bed4b3eb..b8f99d1ed4 100644
--- a/src/runtime/mgc.go
+++ b/src/runtime/mgc.go
@@ -1167,7 +1167,7 @@ top:
// endCycle depends on all gcWork cache stats being flushed.
// The termination algorithm above ensured that up to
// allocations since the ragged barrier.
- gcController.endCycle(now, int(gomaxprocs), work.userForced)
+ gcController.endCycle(now, int(gomaxprocs))
// Perform mark termination. This will restart the world.
gcMarkTermination(stw)