]> Cypherpunks repositories - gostls13.git/commit
runtime: improve heapBitsSetType documentation
authorAustin Clements <austin@google.com>
Thu, 12 May 2016 22:10:03 +0000 (18:10 -0400)
committerAustin Clements <austin@google.com>
Sat, 14 May 2016 13:49:57 +0000 (13:49 +0000)
commit6181db53dbfec513300a236debbdc01735f00c07
tree7874bdc7950106a9b10a471efb6ad85fe5964a53
parentd8b08c3aa49d9aaac6ff34dbb8516040cc88a13a
runtime: improve heapBitsSetType documentation

Currently the heapBitsSetType documentation says that there are no
races on the heap bitmap, but that isn't exactly true. There are no
*write-write* races, but there are read-write races. Expand the
documentation to explain this and why it's okay.

Change-Id: Ibd92b69bcd6524a40a9dd4ec82422b50831071ed
Reviewed-on: https://go-review.googlesource.com/23092
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mbitmap.go