aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/align_runtime_test.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-07-20 17:42:53 -0400
committerMichael Pratt <mpratt@google.com>2022-08-12 01:49:13 +0000
commit0fc774a68f04fef2731e7d866a2756808a212d31 (patch)
tree829fcb2624cd77c88b56808adcff971b96862d8d /src/runtime/align_runtime_test.go
parent5d7d50111f123011723989a7d123d6f0a6df38e6 (diff)
downloadgo-0fc774a68f04fef2731e7d866a2756808a212d31.tar.xz
runtime: convert schedt.pollUntil to atomic type
Note that this converts pollUntil from uint64 to int64, the type used by nanotime(). For #53821. Change-Id: Iec9ec7e09d3350552561d0708ba6ea9e8a8ae7ab Reviewed-on: https://go-review.googlesource.com/c/go/+/419443 Run-TryBot: Michael Pratt <mpratt@google.com> Reviewed-by: Austin Clements <austin@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/align_runtime_test.go')
-rw-r--r--src/runtime/align_runtime_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/align_runtime_test.go b/src/runtime/align_runtime_test.go
index c3b9c1712c..e7af4cd6ff 100644
--- a/src/runtime/align_runtime_test.go
+++ b/src/runtime/align_runtime_test.go
@@ -17,7 +17,6 @@ var AtomicFields = []uintptr{
unsafe.Offsetof(p{}.timer0When),
unsafe.Offsetof(p{}.timerModifiedEarliest),
unsafe.Offsetof(p{}.gcFractionalMarkTime),
- unsafe.Offsetof(schedt{}.pollUntil),
unsafe.Offsetof(schedt{}.timeToRun),
unsafe.Offsetof(timeHistogram{}.underflow),
unsafe.Offsetof(profBuf{}.overflow),