|
|
|
|
|
by dtwwtd
4791 days ago
|
|
It makes sense to me that it can't possibly detect all race conditions but I had never really thought about the ability to detect any race conditions programmatically. Running the detector on just a few nodes sounds like a great way to offset the performance penalty a bit. The docs on the race detector say that "memory usage may increase by 5-10x and execution time by 2-20x" which could be quite significant. I also wonder about the effectiveness of randomly fuzzing your app with the race detector on as a form of testing. |
|
Certainly for an entire program it is... not sure if you limit it to the just the code paths executed.