.NET Internals: Stack Memory Management
summary
Explains how the CLR ensures stack memory is cleaned by walking through how C# code is transformed into machine code and how that relates to stack memory management. Covers JIT compiler techniques and optimizations used to make code run faster, with concrete discussion of the compilation process and its impact on stack allocation/cleanup.
AI-written summary · about
chapters (12)
- 0:00Stack memory intro
- 2:07Code compilation and JIT
- 6:27Stack machine and RPN
- 12:36Local variables in .NET
- 15:41Stack demo in GDB
- 19:20JIT and memory management
- 22:14JIT optimizations debugging
- 25:35Optimizing small structs
- 29:10JIT stack trace changes
- 32:49Q&A
- 37:51When to optimize for JIT
- 41:41JIT bugs and issues
related talks
25m.NET Framework Hosting API Overview
59mBuilding your own debugging toolbox with ClrMD
44mStack Overflow - performance target
01h 01mDebugging and Profiling .NET Core Apps on Linux
37mStack Overflow behind the scenes - how it's made
01h 02mApplication Performance Optimisation in Practice
01h 00mLinkers, Loaders and Shared Libraries in Windows, Linux, and C++
01h 03mQ&A – Ask the #dotNET team
