Descriptionruntime: 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
Patch Set 1 #Patch Set 2 : diff -r 72806f50d410 https://khr%40golang.org@code.google.com/p/go/ #Patch Set 3 : diff -r 72806f50d410 https://khr%40golang.org@code.google.com/p/go/ #
Total comments: 1
Patch Set 4 : diff -r 2a40ee658066 https://khr%40golang.org@code.google.com/p/go/ #
MessagesTotal messages: 4
|
|||||||||||||||||||