go/src/pkg/runtime/race/testdata
Dmitriy Vyukov f16729781b 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
2014-09-01 08:04:33 -04:00
..
atomic_test.go runtime/race: better handling of atomic operations 2014-09-01 08:04:33 -04:00
cgo_test.go
cgo_test_main.go
chan_test.go src, misc: applied gofmt -s -w 2014-07-16 16:29:51 -07:00
comp_test.go
finalizer_test.go
io_test.go
map_test.go runtime/race: add tests for maps with big keys/vals 2014-08-05 18:12:38 +04:00
mop_test.go
mutex_test.go
regression_test.go
rwmutex_test.go
select_test.go
slice_test.go src, misc: applied gofmt -s -w 2014-07-16 16:29:51 -07:00
sync_test.go
waitgroup_test.go