Under the Hood of .NET Memory Management - Simple Talk
Under the Hood of .NET Memory Management - Simple Talk
Under the Hood of .NET Memory Management - Simple Talk
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Section 3: Deeper .<strong>NET</strong> ....................................................178<br />
Chapter 6: A Few More Advanced Topics ................................... 179<br />
Introduction ..........................................................................................................................179<br />
32-Bit vs. 64-Bit .....................................................................................................................180<br />
Survey <strong>of</strong> Garbage Collection Flavors ............................................................................... 182<br />
Garbage Collection Notification ........................................................................................186<br />
Weak References ...................................................................................................................190<br />
Marshaling .............................................................................................................................192<br />
Conclusion ............................................................................................................................ 195<br />
Chapter 7: The Windows <strong>Memory</strong> Model ................................... 197<br />
.<strong>NET</strong>/OS Interaction ...........................................................................................................197<br />
Virtual and Physical <strong>Memory</strong> .............................................................................................198<br />
Pages ................................................................................................................................ 199<br />
The process address space ...........................................................................................200<br />
<strong>Memory</strong> Manager .................................................................................................................201<br />
Using <strong>the</strong> memory manager ........................................................................................ 202<br />
Keeping track ................................................................................................................. 202<br />
Page Frame Database .......................................................................................................... 204<br />
The Page Table ......................................................................................................................205<br />
Virtual Addresses and <strong>the</strong> Page Table .............................................................................. 206<br />
Page Table Entry .................................................................................................................. 208<br />
Page Faults ............................................................................................................................ 208<br />
Locking <strong>Memory</strong> ................................................................................................................. 209<br />
Putting It All Toge<strong>the</strong>r .........................................................................................................210<br />
<strong>Memory</strong> Caching ...................................................................................................................211<br />
The Long and Winding Road ............................................................................................. 212<br />
Summary ................................................................................................................................ 212