diff options
author | Russ Cox <rsc@golang.org> | 2017-01-04 13:37:33 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2017-01-04 19:01:32 +0000 |
commit | 20cdb62c499140bcd3c42f89be0d5b4ede683f42 (patch) | |
tree | 8d8efabefdd24b1f596aeb2c448d147ffff342a6 | |
parent | f64b7d301d8f22efb9b539f8ac4db60aedf182c6 (diff) | |
download | go-20cdb62c499140bcd3c42f89be0d5b4ede683f42.tar.gz go-20cdb62c499140bcd3c42f89be0d5b4ede683f42.zip |
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: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | doc/go1.8.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/go1.8.html b/doc/go1.8.html index 83556521fa..de92e92355 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -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> |