~/talk

Golang's Realtime GC in Theory and Practice

Talkat GoWayFest 2017 · on Friday, 2017-07-21· [go]
links:none on file
slides:none on file

Explains how Go turns classic mark-and-sweep into a concurrent collector using the tricolor algorithm with a write barrier and recoloring rules that guarantee any object becomes collectable within two cycles; demonstrates a simple buffer overwrite benchmark (sequentially overwriting N pointers) used to measure worst‑case pause. Sets a 50 ms SLA, observes Go typically <10 ms while Haskell’s stop‑the‑world runs show order‑of‑magnitude larger pauses; trace shows a ~15 ms mark pause caused by non‑yielding background mark workers that was later fixed.

AI-written summary · about

  1. 0:00Intro
  2. 0:19Message Bus
  3. 2:44Why Garbage Collection
  4. 3:51Mark and Sweep
  5. 4:14Pseudocode
  6. 4:45Model Phase
  7. 7:42Garbage Collection
  8. 10:14Markandsweep
  9. 11:10Tricolore
  10. 12:58Examples
  11. 16:15Pointer Detection
  12. 17:17Garbage Detection
  13. 18:17Summary
  14. 21:37Benchmark Code
  15. 22:24Languages
  16. 23:03Results
  17. 23:27Haskell
  18. 25:49Visualizing the benchmark
  19. 28:11The blog post
  20. 28:25The issues
  21. 29:31The Go team
  22. 29:51Garbage collectors make tradeoffs
  23. 30:22Be clear about requirements
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.