~/talk

Data race detection

Talkat WebCamp Zagreb 2019 · 2019-10-11..10-12· [concurrency, testing]
slides:none on file

Explains concrete data-race detection for Go via the -race flag that compiles with ThreadSanitizer (LLVM) instrumentation, claiming no false positives but possible false negatives. Shows it finds real bugs (Chrome, Go) while costing ~2–20x runtime and ~5–10x memory and requiring 64-bit. Describes algorithms: vector-clock happens‑before, FastTrack optimization that stores a single writer, and a probabilistic shadow-table using 8-byte shadow words with a 4-entry per-chunk cache that evicts old records, improving speed at the cost of missed races in rare cases.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:06What is a data race
  3. 3:18Real-world consequences
  4. 5:27Common mistakes in code
  5. 7:36Data race detection in Go
  6. 9:46How the algorithm works
  7. 13:47DDT+ algorithm details
  8. 16:21FastTrack improvement
  9. 17:45ThreadSanitizer overview
  10. 20:15Limitations and summary
  11. 20:37Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.