How Go's Race Detector Works: Shadow Memory and Vector Clocks
The Go race detector is LLVM’s ThreadSanitizer shipped as a prebuilt blob: the compiler inserts read and write hooks, the runtime maps shadow memory for the heap and globals, and …
The Go race detector is LLVM’s ThreadSanitizer shipped as a prebuilt blob: the compiler inserts read and write hooks, the runtime maps shadow memory for the heap and globals, and …