~/talk

Practical Memory Pool Based Allocators For Modern C++

Talkat CppCon 2020 · 2020-09-14..09-18· [software-architecture]
links:none on file
slides:none on file

An allocator instruments every allocation site at compile time and an external LLVM-based pass scans the generated LLVM bitcode to extract type sizes and call paths, auto-generating static bucket descriptors so code switches from heap to fixed-size memory pools without source changes. The allocator respects rebind, falls back to an upstream resource until pools are defined, and selects buckets by minimizing wasted bytes (prefers fewer blocks on ties). Practical caveats include local fragmentation for multi-item allocations and incomplete call graphs for virtual or indirect calls when using the instrumented allocator approach.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Memory allocation in real-time
  3. 3:19Autosar rules for allocators
  4. 8:34Memory pool design basics
  5. 16:50Bucket definitions with traits
  6. 22:56Allocation strategy for containers
  7. 28:57Fragmentation and limitations
  8. 31:45Allocator implementation details
  9. 38:48Instrumentation for analysis
  10. 48:30LLVM pass for bucket generation
  11. 50:16Summary and takeaways
  12. 50:57Q&A session
~/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.