Chapter 17. Memory Management

Memory management is an essential ingredient of every program except the most trivial applications. There are different classifications of memory. Registers, static data area (SDA), stacks, thread local storage (TLS), heaps, virtual memory, and file storage are types of memory. Registers hold data that require quick and efficient memory access. Critical system information, such as the instruction pointer and the stack pointer, are stored in dedicated registers. Static and global values are stored automatically in the SDA. Stacks are thread-specific and hold function-related information. Local variables, parameters, return values, the instruction pointer of the calling function, and other function-related information ...

Get Programming Microsoft® Visual C#® 2008: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.