aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql_test.go
diff options
context:
space:
mode:
authorMichael Anthony Knyszek <mknyszek@google.com>2025-07-15 17:11:18 +0000
committerMichael Knyszek <mknyszek@google.com>2025-07-16 13:31:59 -0700
commit385000b004616d5c42c868a2a072432cb65ca692 (patch)
tree044fef9d5a13d8024d870be2cd42cec4035b1508 /src/database/sql/sql_test.go
parentf506ad2644ff9c76d7e9fa00710248009d449cac (diff)
downloadgo-385000b004616d5c42c868a2a072432cb65ca692.tar.xz
runtime: fix idle time double-counting bug
This change fixes a bug in the accounting of sched.idleTime. In just the case where the GC CPU limiter needs up-to-date data, sched.idleTime is incremented in both the P-idle-time and idle-mark-work paths, but it should only be incremented in the former case. Fixes #74627. Change-Id: If41b03da102d47d25bec48ff750a9da27019b71d Reviewed-on: https://go-review.googlesource.com/c/go/+/687998 Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions