]> Cypherpunks repositories - gostls13.git/commit
Revert "runtime: profile mutex contention during unlock"
authorRhys Hiltner <rhys.hiltner@gmail.com>
Wed, 29 May 2024 16:41:51 +0000 (16:41 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 30 May 2024 17:56:43 +0000 (17:56 +0000)
commit5dead59add1f11e98de155860aa86175e893ac01
tree2db4d7d68541b037a758211610af27b53494fed2
parentca7d300509626e2071f3f5babc2e9c121d806fec
Revert "runtime: profile mutex contention during unlock"

This reverts commit ba1c5b2c4573e10f3b5f0e0f25a27f17fba67eb0 (CL 585638).

Reason for revert: This is part of a patch series that changed the
handling of contended lock2/unlock2 calls, reducing the maximum
throughput of contended runtime.mutex values, and causing a performance
regression on applications where that is (or became) the bottleneck.

Updates #66999
Updates #67585

Change-Id: Ibeec5d8deb17e87966cf352fefc7efe2267839d6
Reviewed-on: https://go-review.googlesource.com/c/go/+/589115
Auto-Submit: Rhys Hiltner <rhys.hiltner@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/lock_futex.go
src/runtime/lock_sema.go
src/runtime/mprof.go