From d3aeba1670e80095fdd6e313a776163f4c68dc6a Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 30 Oct 2025 16:33:30 -0400 Subject: 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 Reviewed-by: Michael Knyszek Auto-Submit: Michael Pratt --- src/runtime/align_runtime_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'src/runtime/align_runtime_test.go') diff --git a/src/runtime/align_runtime_test.go b/src/runtime/align_runtime_test.go index 4bcb49db2f..8b21934a75 100644 --- a/src/runtime/align_runtime_test.go +++ b/src/runtime/align_runtime_test.go @@ -14,7 +14,6 @@ import "unsafe" // operations (all the *64 operations in internal/runtime/atomic). var AtomicFields = []uintptr{ unsafe.Offsetof(m{}.procid), - unsafe.Offsetof(p{}.gcFractionalMarkTime), unsafe.Offsetof(profBuf{}.overflow), unsafe.Offsetof(profBuf{}.overflowTime), unsafe.Offsetof(heapStatsDelta{}.tinyAllocCount), -- cgit v1.3-5-g45d5