~/talk

Collecting Garbage on the Blockchain

Talkat VMIL 2023 · on Monday, 2023-10-23· [webassembly, blockchain]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

An incremental garbage collector for a WebAssembly blockchain (Internet Computer) that bounds GC work to fit transaction instruction limits and avoid unbounded stop the world pauses. It uses snapshot-at-beginning conservative marking, per-run empty call stack at phase boundaries, partitioned heaps with 32 MB partitions, incremental evacuation compaction using Brooks forwarding pointers, and a separate updating phase that patches all pointers so reclaimed memory is available immediately. Measurements show bounded pause behavior, slightly lower total instruction cost than alternatives, higher peak heap due to forwarding and copy space, and better scalability past previous GC instruction limits.

AI-written summary · about

  1. 0:00Introduction to blockchain garbage collection
  2. 1:24Transactional execution model
  3. 3:32Moto language GC basics
  4. 4:57Incremental GC requirements
  5. 6:00Moto incremental GC design
  6. 9:34Evacuation phase pointers
  7. 11:26Updating phase patching
  8. 12:50Experimental results
  9. 15:39Scalability trade-offs
  10. 16:41Key takeaways
  11. 17:02Q&A
~/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.