Chapter 7: The Windows Memory Model
In Chapter 3, we touched on how the .NET CLR interfaces with the Windows OS during heap management. Well, seeing as this is the last chapter and you've come this far, I was hoping maybe you would be willing to go a little bit deeper into the OS.
To really understand memory management, you need to follow what actually happens after the .NET CLR makes memory requests to the OS as part of creating and destroying the generational segments.
As always, let's start with the basics and build from there, “assuming nothing.” Of course, you can always skip the first few sections if you find them too basic.
The .NET CLR interfaces with the OS using the Windows API. To control heap management, it creates ...