]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/gc/scan: avoid -1 index when cache sizes unavailable
authorMichael Anthony Knyszek <mknyszek@google.com>
Tue, 12 Aug 2025 21:57:23 +0000 (21:57 +0000)
committerMichael Knyszek <mknyszek@google.com>
Wed, 13 Aug 2025 00:45:43 +0000 (17:45 -0700)
commitadbf59525c06ae7e037ad0e9a7709ebed2528d66
tree7d61758468491db70198696460942d60f220c9bb
parent4e182db5fc876564a4f87a0602c58ea0ddc6e37c
internal/runtime/gc/scan: avoid -1 index when cache sizes unavailable

Fixes #74984.
Fixes #74983.

Change-Id: I011c66c2005bc4d92f1d17f1f8ce88158634f71f
Reviewed-on: https://go-review.googlesource.com/c/go/+/695476
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/runtime/gc/scan/scan_test.go