go/src/sync
Lorenz Bauer 88ba645827 sync: enable profiling of RWMutex
Include reader / writer interactions of RWMutex in the mutex profile.
Writer contention is already included in the profile, since a plain Mutex
is used to control exclusion.

Fixes #18496

Change-Id: Ib0dc1ffa0fd5e6d964a6f7764d7f09556eb63f00
Reviewed-on: https://go-review.googlesource.com/87095
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
2018-02-14 15:38:42 +00:00
..
atomic runtime, sync/atomic: use NOFRAME on arm 2018-02-12 21:41:30 +00:00
cond.go all: change github.com issue links to golang.org 2017-11-04 04:13:41 +00:00
cond_test.go all: don't call t.Fatal from a goroutine 2016-11-15 15:13:48 +00:00
example_pool_test.go sync: add example for Pool 2016-11-10 05:32:14 +00:00
example_test.go
export_test.go sync: deflake TestPool and TestPoolNew 2017-06-28 22:02:07 +00:00
map.go sync: document when and when not to use Map 2018-01-04 20:13:20 +00:00
map_bench_test.go sync: release m.mu during (*RWMutexMap).Range callbacks in sync_test 2017-07-20 18:51:09 +00:00
map_reference_test.go sync: release m.mu during (*RWMutexMap).Range callbacks in sync_test 2017-07-20 18:51:09 +00:00
map_test.go sync: really test DeepCopyMap 2017-04-30 14:17:36 +00:00
mutex.go sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
mutex_test.go sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
once.go
once_test.go
pool.go sync: align poolLocal to CPU cache line size 2017-04-20 22:36:07 +00:00
pool_test.go sync: deflake TestPool and TestPoolNew 2017-06-28 22:02:07 +00:00
runtime.go sync: make Mutex more fair 2017-02-17 17:24:59 +00:00
runtime_sema_test.go sync: make Mutex more fair 2017-02-17 17:24:59 +00:00
rwmutex.go sync: enable profiling of RWMutex 2018-02-14 15:38:42 +00:00
rwmutex_test.go runtime: add read/write mutex type 2017-06-19 17:40:38 +00:00
waitgroup.go all: join some chained ifs to unindent code 2017-08-29 20:57:41 +00:00
waitgroup_test.go all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00