mirror of
https://github.com/golang/go
synced 2024-11-16 22:54:47 -07:00
runtime: drop padding alignment field for timeHistogram
After CL 419449, timeHistogram always have 8-byte alignment. Change-Id: I93145502bcafa1712b811b1a6d62da5d54d0db42 Reviewed-on: https://go-review.googlesource.com/c/go/+/425777 Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
dba9323f76
commit
bcd1ac7120
@ -45,8 +45,6 @@ type mstats struct {
|
||||
|
||||
enablegc bool
|
||||
|
||||
_ uint32 // ensure gcPauseDist is aligned.
|
||||
|
||||
// gcPauseDist represents the distribution of all GC-related
|
||||
// application pauses in the runtime.
|
||||
//
|
||||
|
@ -836,8 +836,6 @@ type schedt struct {
|
||||
// with the rest of the runtime.
|
||||
sysmonlock mutex
|
||||
|
||||
_ uint32 // ensure timeToRun has 8-byte alignment
|
||||
|
||||
// timeToRun is a distribution of scheduling latencies, defined
|
||||
// as the sum of time a G spends in the _Grunnable state before
|
||||
// it transitions to _Grunning.
|
||||
|
Loading…
Reference in New Issue
Block a user