diff options
author | Keith Randall <khr@golang.org> | 2014-07-24 14:37:34 -0700 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2014-07-24 14:37:34 -0700 |
commit | 62638ea29e928e557d58fd673fb8d8a0eab6c4b2 (patch) | |
tree | 895737e9eb5e2e1713c336de98bba5f7657b7940 /doc/tos.html | |
parent | 99a409331201451956488a273c1565da4ce51a7e (diff) | |
download | go-62638ea29e928e557d58fd673fb8d8a0eab6c4b2.tar.gz |
runtime: set sweepgen atomically before updating span state
Sweepone may be running while a new span is allocating. It
must not see the state updated while the sweepgen is unset.
Fixes issue 8399
LGTM=dvyukov
R=golang-codereviews, dvyukov
CC=golang-codereviews
https://codereview.appspot.com/118050043
Diffstat (limited to 'doc/tos.html')
0 files changed, 0 insertions, 0 deletions