Descriptiontesting: read coverage counters atomically
For -mode=atomic, we need to read the counters
using an atomic load to avoid a race. Not worth worrying
about when -mode=atomic is set during generation
of the profile, so we use atomic loads always.
Fixes issue 8630.
Patch Set 1 #Patch Set 2 : diff -r 59fb8415a560343b9d73cb7a5fc0f40dc26e16a0 https://code.google.com/p/go #
MessagesTotal messages: 4
|