From: Austin Clements Date: Mon, 7 Dec 2020 02:20:15 +0000 (-0500) Subject: doc/go1.16: improve channel race detector changes description X-Git-Tag: go1.16beta1~67 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=48d6275952184f1e858c2796d36c6b205d5d7e83;p=gostls13.git doc/go1.16: improve channel race detector changes description Based on text from Daniel Fava. For #40700. Change-Id: I0bc3a4340b8a777ff96d3cf226a7d51d3f65db2c Reviewed-on: https://go-review.googlesource.com/c/go/+/275786 Trust: Austin Clements Reviewed-by: Daniel Fava Reviewed-by: Dmitry Vyukov --- diff --git a/doc/go1.16.html b/doc/go1.16.html index da8f560f85..012be1656f 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -331,9 +331,11 @@ Do not send CLs removing the interior tags from such phrases.

- The race detector's model for channel operations now more precisely - follows the Go memory model. As a result, it - may report now races that it previously missed. + Go 1.16 fixes a discrepancy between the race detector and + the Go memory model. The race detector now + more precisely follows the channel synchronization rules of the + memory model. As a result, the detector may now report races it + previously missed.

Compiler