From 48d6275952184f1e858c2796d36c6b205d5d7e83 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Sun, 6 Dec 2020 21:20:15 -0500 Subject: [PATCH] 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 --- doc/go1.16.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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

-- 2.48.1