]> Cypherpunks repositories - gostls13.git/commit
runtime: eliminate all writebarrierptr* calls
authorAustin Clements <austin@google.com>
Mon, 15 Jan 2018 05:00:02 +0000 (00:00 -0500)
committerAustin Clements <austin@google.com>
Tue, 13 Feb 2018 16:34:45 +0000 (16:34 +0000)
commit245310883dcae717bb662b22d5b1fd07fdd59b76
tree4b4af5e2a49dc9ea1f5a9cb3eed3fc2231a3f526
parent2ae1e1ae2f8726057914f26d5360c3403b8f049a
runtime: eliminate all writebarrierptr* calls

Calls to writebarrierptr can simply be actual pointer writes. Calls to
writebarrierptr_prewrite need to go through the write barrier buffer.

Updates #22460.

Change-Id: I92cee4da98c5baa499f1977563757c76f95bf0ca
Reviewed-on: https://go-review.googlesource.com/92704
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/atomic_pointer.go
src/runtime/chan.go
src/runtime/hashmap_fast.go
src/runtime/mbitmap.go