Self-Awareness in C++ Code

Self-Awareness in C++ Code

NDC Conferences via YouTube Direct link

Remember our Case Study

27 of 33

27 of 33

Remember our Case Study

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Self-Awareness in C++ Code

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Tech At Bloomberg
  3. 3 The Bloomberg Terminal
  4. 4 We care about performance
  5. 5 Memory Leaks? In 2018??
  6. 6 Memory Usage: A Case Study
  7. 7 Usual Strategies
  8. 8 Building a memory profiler
  9. 9 Where is malloc?
  10. 10 Strategy #1: Intercepting malloc using the allocator shim
  11. 11 Strategy #2: Intercepting malloc using Import Address Table redirection
  12. 12 Capturing the traceback: helper func
  13. 13 Step 3: Build a callstack / size histogram
  14. 14 Data structures
  15. 15 Gotcha #1: recursive malloc
  16. 16 Gotcha #1 fix: recursion protection
  17. 17 RAll recursion protection
  18. 18 Gotcha #2 fix: Thread-local storage
  19. 19 Instrumentation walkthrough: 2
  20. 20 Instrumentation walkthrough: example
  21. 21 Tree representation
  22. 22 Building the tree
  23. 23 Hierarchical analysis
  24. 24 Graphical analysis
  25. 25 Example 1: Alloc/Dealloc
  26. 26 Example 2: Simple leak
  27. 27 Remember our Case Study
  28. 28 Case Study: normal run (no errors)
  29. 29 Case Study: with some errors
  30. 30 Case Study: The logging?
  31. 31 Combining callstacks and instance data
  32. 32 Allocation context
  33. 33 Mixed-mode systems

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.