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 <austin@google.com>
Reviewed-by: Daniel Fava <danielsfava@gmail.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
This commit is contained in:
Austin Clements 2020-12-06 21:20:15 -05:00
parent 9c91cab0da
commit 48d6275952

View file

@ -331,9 +331,11 @@ Do not send CLs removing the interior tags from such phrases.
</p>
<p><!-- CL 220419, CL 271987 -->
The race detector's model for channel operations now more precisely
follows the <a href="/ref/mem">Go memory model</a>. As a result, it
may report now races that it previously missed.
Go 1.16 fixes a discrepancy between the race detector and
the <a href="/ref/mem">Go memory model</a>. 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.
</p>
<h2 id="compiler">Compiler</h2>