Commit 20cdb62c authored by Russ Cox's avatar Russ Cox

doc: in Go 1.8 notes, mention lack of RWMutex in contention profile

For #18496.

Change-Id: I50ced7c9f0fe5d9c627eef1f59a7f73be742e04c
Reviewed-on: https://go-review.googlesource.com/34831
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent f64b7d30
......@@ -631,6 +631,13 @@ now implements the new
<a href="/pkg/runtime/#SetMutexProfileFraction"><code>SetMutexProfileFraction</code></a>.
</p>
<p>
A known limitation for Go 1.8 is that the profile only reports contention for
<a href="/pkg/sync/#Mutex"><code>sync.Mutex</code></a>,
not
<a href="/pkg/sync/#RWMutex"><code>sync.RWMutex</code></a>.
</p>
<h3 id="minor_library_changes">Minor changes to the library</h3>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment