~/talk

Object Introspection: A C++ Memory Profiler

Talkat CppCon 2023 · on Wednesday, 2023-10-04· at 15:15· Adams, 6700 North Gaylord Rockies Boulevard· [observability]
links:none on file
links:none on file
slides:none on file

Open source Linux tool reconstructs C++ types from DWARF debug data, generates measurement routines with LLVM JIT, and either injects them into a live process via ptrace-style trampolines or exposes in-process APIs with no code modification. It reports exact per-field and container occupancy, shows short-string/SSO and small-vector waste, and surfaces real wins — e.g. targeted changes that save about 1.5 GB memory saved and reduce P95 RSS by ~10%. It currently targets 64-bit x86 and works at production scale.

AI-written summary · about

  1. 0:00Object Introspection intro
  2. 1:04Why object memory introspection matters
  3. 10:35Reconstructing objects
  4. 20:50Measuring memory with OI library
  5. 28:18Live profiling with OID debugger
  6. 36:46Memory optimization use cases
  7. 46:10OI limitations and future
  8. 51:31Q&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.