Descriptionruntime: implement range access functions in race detector.
Range access functions are already available in TSan library
but were not yet used.
Time for go test -race -short:
Before:
compress/flate 24.244s
exp/norm >200s
go/printer 78.268s
After:
compress/flate 17.760s
exp/norm 5.537s
go/printer 5.738s
Fixes issue 4250.
Patch Set 1 #Patch Set 2 : diff -r 6b7f0677efb3 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 6b7f0677efb3 https://go.googlecode.com/hg/ #
Total comments: 6
Patch Set 4 : diff -r 6b7f0677efb3 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 229081515358 https://go.googlecode.com/hg/ #
MessagesTotal messages: 9
|