diff options
| author | Russ Cox <rsc@golang.org> | 2014-11-11 16:54:50 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-11-11 16:54:50 -0500 |
| commit | 9eded54fa3e7c3d1bc593f83e5c448b908299d0e (patch) | |
| tree | 93ea35fe2741d58c4002b05e08b6f1726d8e0d49 /src/runtime/lfstack.c | |
| parent | 37186d91fab5850012b32c21657633d18272537e (diff) | |
| download | go-9eded54fa3e7c3d1bc593f83e5c448b908299d0e.tar.xz | |
[dev.garbage] runtime: concurrent mark fixes
Add missing write barrier when initializing state
for newly created goroutine. Add write barrier for
same slot when preempting a goroutine.
Disable write barrier during goroutine death,
because dopanic does pointer writes.
With concurrent mark enabled (not in this CL), all.bash passed once.
The second time, TestGoexitCrash-2 failed.
LGTM=rlh
R=rlh
CC=golang-codereviews
https://golang.org/cl/167610043
Diffstat (limited to 'src/runtime/lfstack.c')
0 files changed, 0 insertions, 0 deletions
