diff options
| author | Cuong Manh Le <cuong.manhle.vn@gmail.com> | 2022-08-26 09:16:47 +0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-08-26 18:01:35 +0000 |
| commit | bcd1ac7120e04cc60491005771aee5f27abac220 (patch) | |
| tree | 046451e330e799936eea9452db0f19008fee7161 /src/runtime/runtime2.go | |
| parent | dba9323f764e1ded627a0e3a459377026e9e0ce3 (diff) | |
| download | go-bcd1ac7120e04cc60491005771aee5f27abac220.tar.xz | |
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>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 88e93a315f..e6c8180d6d 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -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. |
