From: Carlo Alberto Ferraris Date: Sat, 10 Aug 2019 13:11:26 +0000 (+0000) Subject: doc/go1.13: mention faster sync.Mutex/RWMutex/Once X-Git-Tag: go1.13rc1~18 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3928915ec74029269f8dacb46c627cbdbd295c2b;p=gostls13.git doc/go1.13: mention faster sync.Mutex/RWMutex/Once Mention faster sync.Mutex/RWMutex/Once in the 1.13 release notes. Change-Id: I29d8a5004a0af42542e8db82a8c9e2e06a15dbb0 GitHub-Last-Rev: 2995401dab563ea5af98c0f5351f51a6116f105e GitHub-Pull-Request: golang/go#33404 Reviewed-on: https://go-review.googlesource.com/c/go/+/188479 Reviewed-by: Emmanuel Odeke --- diff --git a/doc/go1.13.html b/doc/go1.13.html index 3b9da340aa..554557cd7f 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -892,6 +892,14 @@ godoc
sync
+

+ The fast paths of Mutex.Lock, Mutex.Unlock, + RWMutex.Lock, RWMutex.RUnlock, and + Once.Do are now inlined in their callers. + For the uncontended cases on amd64, these changes make Once.Do twice as fast, and the + Mutex/RWMutex methods up to 10% faster. +

+

Large Pool no longer increase stop-the-world pause times.