~/talk

Designing Wait-free Weak Reference Counting

Talkat O'Hearn Fest (POPL 2024) · on Sunday, 2024-01-14· [concurrency]
links:none on file
slides:none on file

Claims a wait-free weak reference counting algorithm that lets weak-to-strong promotions terminate regardless of other threads by changing the state machine and encoding strong counts as even numbers with a special odd “close” state. Implementation uses atomic +2/−2 increments for fast paths and a single CAS for closing; systematic testing uncovers and fixes a missing weak-ref transfer bug in an earlier PDI-style design. Verifies the design with Starling and ISMM paper artifacts; microbenchmarks show flattened contention on promotion but a worst-case ~2x work cost that a merged-state variant reduces.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Reference counting challenges
  3. 3:30Progress properties
  4. 4:37Reference counting state machine
  5. 6:01Weak to strong promotion performance
  6. 7:02Wait-free weak reference design
  7. 9:48Verification with Starling
  8. 13:36Benchmarking results
  9. 15:41Lessons from Peter’s office
  10. 16:25Questions and future applications
~/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.