]> Cypherpunks repositories - gostls13.git/commit
runtime: rename shouldhelpgc to checkGCTrigger in mallocgc
authorMichael Anthony Knyszek <mknyszek@google.com>
Thu, 3 Oct 2024 18:27:01 +0000 (18:27 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 21 Oct 2024 15:48:17 +0000 (15:48 +0000)
commite750a0cdb3b5af4d92026eadfd8f21a3f4761492
tree9667e5358a672d786c8c20ea9592737b3aa2c802
parent8df6413e116eb471c69e0722ea4319a228efafa2
runtime: rename shouldhelpgc to checkGCTrigger in mallocgc

shouldhelpgc is a very unhelpful name, because it has nothing to do with
assists and solely to do with GC triggering. Name it checkGCTrigger
instead, which is much clearer.

Change-Id: Id38debd424ddb397376c0cea6e74b3fe94002f71
Reviewed-on: https://go-review.googlesource.com/c/go/+/617877
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/malloc.go