]> Cypherpunks repositories - gostls13.git/commit
runtime: switch p.gcFractionalMarkTime to atomic.Int64
authorMichael Pratt <mpratt@google.com>
Thu, 30 Oct 2025 20:33:30 +0000 (16:33 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 12 Nov 2025 16:26:55 +0000 (08:26 -0800)
commitd3aeba1670e80095fdd6e313a776163f4c68dc6a
tree704913a49171650bbf14c6b9afe1434e93112f7a
parent8873e8bea29ac6de5fecee88b8b81239bd2eb179
runtime: switch p.gcFractionalMarkTime to atomic.Int64

atomic.Int64 automatically maintains proper alignment, avoiding the need
to manually adjust alignment back and forth as fields above change.

Change-Id: I6a6a636c4c3c366353f6dc8ecac473c075dd5cd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/716700
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/runtime/align_runtime_test.go
src/runtime/mgc.go
src/runtime/mgcpacer.go
src/runtime/runtime2.go