]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: remove p padding field for atomic fields alignment
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 18 Aug 2022 15:53:19 +0000 (22:53 +0700)
committerGopher Robot <gobot@golang.org>
Thu, 18 Aug 2022 18:18:45 +0000 (18:18 +0000)
commit1aa5730f4940b9e11c4461817493e47de1874d77
tree3065ea0b93181e1b9d4b69cc54a2441d3729f4f4
parenta5370d038e56ced398c982f6a610a2ddde1703ff
runtime: remove p padding field for atomic fields alignment

CL 424396 and CL 424397 changed timer0When/timerModifiedEarliest to
atomic.Uint64, just they're guaranted to have 64-bit alignment.

Change-Id: Idaff1059da2aac84520b9b0e34f9721a74dbba5a
Reviewed-on: https://go-review.googlesource.com/c/go/+/424794
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/align_runtime_test.go
src/runtime/runtime2.go