mirror of
https://github.com/golang/go
synced 2024-11-17 10:14:46 -07:00
runtime: remove pageAlloc.scav padding for atomic field alignment
CL 404096 makes atomic.Int64 8 bytes aligned everywhere. Change-Id: I5a676f646260d6391bb071f9376cbdb1553e6e6f Reviewed-on: https://go-review.googlesource.com/c/go/+/424925 Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Joedian Reid <joedian@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
6001c043dc
commit
f324355d1f
@ -280,8 +280,6 @@ type pageAlloc struct {
|
||||
// Updated atomically.
|
||||
released uintptr
|
||||
|
||||
_ uint32 // Align assistTime for atomics on 32-bit platforms.
|
||||
|
||||
// scavengeAssistTime is the time spent scavenging in the last GC cycle.
|
||||
//
|
||||
// This is reset once a GC cycle ends.
|
||||
|
Loading…
Reference in New Issue
Block a user