Part 3: Taking Control (of Memory Management Mechanisms)
In this part, we will delve somewhat deeper and examine ways in which you can take over some of the core memory allocation mechanisms in the C++ language and customize them to your needs. We will see how you can control what operators such as new and delete do, how to use specialized knowledge to obtain specific execution properties, and how these operators can be used in innovative ways. We will also use this knowledge for a few real-life applications and to achieve fast, sometimes extremely fast, memory management operations.
This part has the following chapters:
- Chapter 7, Overloading Memory Allocation Operators
- Chapter 8, Writing a Naïve Leak Detector
- Chapter 9, Atypical Allocation Mechanisms
- Chapter 10, Arena-Based Memory Management and Other Optimizations
- Chapter 11, Deferred Reclamation