Descriptionruntime/race: more precise handling of finalizers
Currently race detector runtime just disables race detection in the finalizer goroutine.
It has false positives when a finalizer writes to shared memory -- the race with finalizer is reported in a normal goroutine that accesses the same memory.
After this change I am going to synchronize the finalizer goroutine with the rest of the world in racefingo(). This is closer to what happens in reality and so
does not have false positives.
And also add README file with instructions how to build the runtime.
Patch Set 1 #Patch Set 2 : diff -r b661b713984f https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r e3d1b93bfa09 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r e3d1b93bfa09 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 5 : diff -r 34142c2654fd https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 1
Patch Set 6 : diff -r 34142c2654fd https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 7 : diff -r 97c0a0267c36 https://dvyukov%40google.com@code.google.com/p/go/ #
MessagesTotal messages: 8
|