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 | 3590d9ce695baa7535537e3d1404de52bf94fae5 (patch) | |
tree | 81cda1f2db6e3509fc83a4e9b748cd39953bd1c9 /doc/code.html | |
parent | 748e5db96d8412d2142afb15c9a3da62f410d45a (diff) | |
download | go-git-3590d9ce695baa7535537e3d1404de52bf94fae5.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 #8399
LGTM=dvyukov
R=golang-codereviews, dvyukov
CC=golang-codereviews
https://golang.org/cl/118050043
Diffstat (limited to 'doc/code.html')
0 files changed, 0 insertions, 0 deletions