]> Cypherpunks repositories - gostls13.git/commit
runtime: mark mstart as nowritebarrierrec
authorAustin Clements <austin@google.com>
Thu, 15 Jun 2017 19:02:32 +0000 (15:02 -0400)
committerAustin Clements <austin@google.com>
Wed, 11 Oct 2017 17:47:13 +0000 (17:47 +0000)
commita212083eea9ee745a3c8e7befb7bba4f4c95396c
treee5f4e88a9c9f735222a8c893b4244de831b2af12
parent8f7f46f5a6d9fe821494aca3c689ca2572a42b41
runtime: mark mstart as nowritebarrierrec

mstart is the entry point for new threads, so it certainly can't
interact with GC enough to have write barriers. We move the one small
piece that is allowed to have write barriers out into its own
function.

Change-Id: Id9c31d6ffac31d0051fab7db15eb428c11cadbad
Reviewed-on: https://go-review.googlesource.com/46035
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/proc.go