]> Cypherpunks repositories - gostls13.git/commit
runtime: recursively disallow write barriers in sysmon
authorAustin Clements <austin@google.com>
Tue, 17 Nov 2015 22:31:04 +0000 (17:31 -0500)
committerAustin Clements <austin@google.com>
Thu, 19 Nov 2015 21:17:25 +0000 (21:17 +0000)
commitd2c81ad84776edfb4c790666f1d80554b4393d46
treeafad5973b2684913f7eff27713bbd32962cbd1f4
parent402e37d4a9dba9dfcfb106c2dc4ff1c264f7b6b7
runtime: recursively disallow write barriers in sysmon

sysmon runs without a P. This means it can't interact with the garbage
collector, so write barriers not allowed in anything that sysmon does.

Fixes #10600.

Change-Id: I9de1283900dadee4f72e2ebfc8787123e382ae88
Reviewed-on: https://go-review.googlesource.com/17006
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/proc.go