~/talk

Will Your Code Survive the Attack of the Zombie Pointers?

Talkat CppCon 2019 · 2019-09-15..09-20· [concurrency]
name:Wong
links:none on file
name:McKenney
links:none on file
slides:none on file

C and C++ currently make any pointer to an object invalid at the end of that object’s lifetime, which breaks long‑standing concurrent patterns such as Smith and Brown 1973 LIFO and lock‑free push/pop sequences that rely on ABA and pointer reuse. Examples include a push/pop/pop_all sequence that produces a resurrected address and hazard‑pointer readers that observe reclaimed memory. Compilers disagree (GCC 8.1, Intel 19, Clang 6 produced different results at -O2), and proposed fixes range from limiting to allocated storage duration to C11 atomics/inline asm exemptions, annotations, or tool‑level workarounds; practical advice: hide allocators, use inline asm, and add detection tools.

AI-written summary · about

~/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.