~/talk

Balanced GC: A Copying Garbage Collector for Golang

Talkat GopherCon 2023 · 2023-09-26..09-29· [go]
links:none on file
slides:none on file

Adds per-goroutine allocation buffers called gaps and uses bump allocation for no-scan objects ≤128 bytes, marking object starts with a bitmap and merging small allocations into larger gap objects. Live objects are copied into survivor gaps via a pointer queue during a mark-termination evacuation, with pinning to avoid changing map key hashes. Deployed at bance as an opt-in GC mode and shows ~4% CPU improvement on average, up to 10% when >50% of objects land in gaps.

AI-written summary · about

  1. 0:00Balanced GC intro
  2. 2:13Motivation for optimization
  3. 9:56Bump allocation details
  4. 16:38Evacuation triggering
  5. 21:58GC compatibility pitfalls
  6. 26:39Production results
~/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.