1
0
mirror of https://github.com/golang/go synced 2024-11-20 00:44:45 -07:00
go/src
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
..
cmd cmd/ld: diagnose Go calling C 2014-08-31 22:49:14 -04:00
lib9 lib9: format %#04x, 0 as 0x0000 not 000000. 2014-07-23 10:17:47 -04:00
libbio libbio: add casts to eliminate -Wconversion warning 2014-04-14 09:36:47 -07:00
liblink cmd/ld: diagnose Go calling C 2014-08-31 22:49:14 -04:00
pkg runtime/race: better handling of atomic operations 2014-09-01 08:04:33 -04:00
all.bash build: make nacl pass 2014-05-20 12:10:19 -04:00
all.bat
all.rc
androidtest.bash androidtest.bash: missing ! 2014-07-09 14:54:11 -04:00
clean.bash
clean.bat
clean.rc
make.bash build: make nacl pass 2014-05-20 12:10:19 -04:00
make.bat make.bat: do not exit builder on successful completion of make.bat (fixes build) 2014-07-21 16:29:38 +10:00
Make.dist
make.rc
nacltest.bash nacltest.bash: set GOROOT before invoking cmd/go 2014-07-10 15:36:48 -04:00
race.bash race.bash: support freebsd 2014-06-24 15:47:22 -07:00
race.bat race.bash,race.bat: unset GOROOT_FINAL during tests 2014-05-07 16:34:21 +10:00
run.bash run.bash: run misc/cgo/testgodefs/test.bash 2014-08-12 07:13:52 -07:00
run.bat build: remove goplay from run.bash and run.bat 2014-06-02 08:44:47 +10:00
run.rc build: be verbose when running tests on Plan 9 2014-07-20 13:14:53 +03:00
sudo.bash