aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.c
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-09-01 08:04:33 -0400
committerDmitriy Vyukov <dvyukov@google.com>2014-09-01 08:04:33 -0400
commitf16729781bc7bfe561658f520dcbffa5f81790c2 (patch)
treeee908ae2068724c8fb56b0b8c4efc474ca03384e /src/pkg/runtime/stack.c
parent553378079522ca9f131c62acf9cc0a583c76164b (diff)
downloadgo-f16729781bc7bfe561658f520dcbffa5f81790c2.tar.xz
runtime/race: better handling of atomic operations
This change fixes the last known false negative of the race detector -- detection of races between mutating atomic operations and non-atomic operations. Race runtime already has functions for precise modelling of various atomic operations, so this change just forwards all atomic ops to race runtime instead of poor man modeling in sync/atomic package. Performance is also improved -- full sync/atomic tests run in 60s instead of 85s now. LGTM=khr R=golang-codereviews, khr CC=golang-codereviews, rsc https://golang.org/cl/111310044
Diffstat (limited to 'src/pkg/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions