diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2023-11-20 06:27:20 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-11-20 13:20:29 +0000 |
| commit | 468bc941886ae83b8d16af5deaaf12ea5cabb05b (patch) | |
| tree | 1d008384170d873009c247dcef90da14ac1afb95 /src/runtime/runtime2.go | |
| parent | 237715cf7c4c2aabf6d3c04473488c1b2477f8ea (diff) | |
| download | go-468bc941886ae83b8d16af5deaaf12ea5cabb05b.tar.xz | |
Revert "runtime: profile contended lock calls"
This reverts commit go.dev/cl/528657.
Reason for revert: broke a lot of builders.
Change-Id: I70c33062020e997c4df67b3eaa2e886cf0da961e
Reviewed-on: https://go-review.googlesource.com/c/go/+/543660
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 6bdd66766d..e64c3c5695 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -593,8 +593,6 @@ type m struct { lockedInt uint32 // tracking for internal lockOSThread nextwaitm muintptr // next m waiting for lock - mLockProfile mLockProfile // fields relating to runtime.lock contention - // wait* are used to carry arguments from gopark into park_m, because // there's no stack to put them on. That is their sole purpose. waitunlockf func(*g, unsafe.Pointer) bool @@ -902,12 +900,6 @@ type schedt struct { // stwTotalTimeOther covers the others. stwTotalTimeGC timeHistogram stwTotalTimeOther timeHistogram - - // totalRuntimeLockWaitTime (plus the value of lockWaitTime on each M in - // allm) is the sum of time goroutines have spent in _Grunnable and with an - // M, but waiting for locks within the runtime. This field stores the value - // for Ms that have exited. - totalRuntimeLockWaitTime atomic.Int64 } // Values for the flags field of a sigTabT. |
