]> Cypherpunks repositories - gostls13.git/commit
runtime: remove gcCPULimiterState padding for atomic fields alignment
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 25 Aug 2022 04:25:32 +0000 (11:25 +0700)
committerGopher Robot <gobot@golang.org>
Fri, 26 Aug 2022 17:46:00 +0000 (17:46 +0000)
commita52f4952cbc03538cacea78a663ac5bf61af165e
tree462dea436287ac9f713bcb397890789cfa4d37ee
parent78aef56062e00cb45e69ee040fe35de6e08938d3
runtime: remove gcCPULimiterState padding for atomic fields alignment

assistTimePool and lastUpdate are now atomic.Int64, so they are
guaranteed to have 64-bit alignment, even on 32-bit platforms.

Change-Id: Ib6062a47c3a92d46d43899e1ae9d119e7f5b8bb0
Reviewed-on: https://go-review.googlesource.com/c/go/+/425460
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/runtime/mgclimit.go