]> Cypherpunks repositories - gostls13.git/commit
runtime: move write barrier code into mbarrier.go
authorRuss Cox <rsc@golang.org>
Thu, 15 Jan 2015 02:47:49 +0000 (21:47 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 19 Jan 2015 15:27:23 +0000 (15:27 +0000)
commit4d226dfee9d08a1e39cab5fe03b4d820b4a75d56
treeff55466827774a2e3b4a2ec3b140dd8f403b1060
parent7ef59e4ed8c2bc4d79d1a40ece6e262677214ace
runtime: move write barrier code into mbarrier.go

I also added new comments at the top of mbarrier.go,
but the rest of the code is just copy-and-paste.

Change-Id: Iaeb2b12f8b1eaa33dbff5c2de676ca902bfddf2e
Reviewed-on: https://go-review.googlesource.com/2990
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/malloc1.go
src/runtime/mbarrier.go [new file with mode: 0644]
src/runtime/mgc.go
src/runtime/mgc0.go
src/runtime/stack1.go