]> Cypherpunks repositories - gostls13.git/commit
runtime: use typed memmove (write barriers) for chan, map, interface content
authorRuss Cox <rsc@golang.org>
Mon, 29 Dec 2014 15:07:47 +0000 (10:07 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 6 Jan 2015 00:27:29 +0000 (00:27 +0000)
commit54bb4dc3906578403aca1c57b482761a6824f079
tree18fad1d02298f56b252562c52e8f7473766a5d1e
parentbcadab9349f8e4a6fb38b26c6afea6ab150c5ee8
runtime: use typed memmove (write barriers) for chan, map, interface content

Found with GODEBUG=wbshadow=2 mode.
Eventually that will run automatically, but right now
it still detects other missing write barriers.

Change-Id: Iea83d693480c2f3008b4e80d55821acff65970a6
Reviewed-on: https://go-review.googlesource.com/2277
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/chan.go
src/runtime/hashmap.go
src/runtime/iface.go
src/runtime/mgc0.go
src/runtime/select.go