Advanced C Programming Memory Management II (malloc, free, alloca, obstacks, garbage collection) http://www.mpi-inf.mpg.de/departments/rg1/teaching/advancedc-ws08/script/lecture09.pdf
在这个网页上的pdf slide都非常不错,值得推荐http://www.mpi-inf.mpg.de/departments/rg1/teaching/advancedc-ws08/literature.html
- Lecture 1, 10/21/2008: Slides [pdf]
- Lecture 2, 10/28/2008: Slides [pdf], Examples: list.h list.c. Caution: this module will not compile properly, it is just useful to illustrate the documentation and coding style concepts from the lecture.
- Lecture 3, 11/04/2008: Slides [pdf], Examples: const.c, volatile.c, restrict.c
- Lecture 4, 11/11/2008: Slides [pdf]
- Lecture 5, 11/18/2008: Slides [pdf]
- Lecture 6, 11/25/2008: Slides [pdf]
- Lecture 7, 12/02/2008: Slides [pdf]
- Lecture 8, 12/09/2008: Slides [pdf]
- Lecture 9, 12/16/2008: Slides [pdf]
- Lecture 10, 01/06/2009: Slides [pdf]
- Lecture 11, 01/13/2009: Slides [pdf]
- Lecture 12, 01/20/2009: Slides [pdf]
- Lecture 13, 01/27/2009: Slides [pdf], here are some example graphs [ZIP], for the graphs you need the following tool
- Lecture 14, 02/03/2009: Slides [pdf], Guest Lecture by Markus Thiele
- Lecture 15, 02/10/2009: Slides [pdf]
A Memory Allocator by Doug Lea
http://gee.cs.oswego.edu/dl/html/malloc.html
Simple Memory Allocation Algorithms
http://www.osdcom.info/content/view/31/39/
Simple Memory Allocation Algorithms
http://goog-perftools.sourceforge.net/doc/tcmalloc.html
http://en.wikipedia.org/wiki/Dynamic_memory_allocation
http://en.wikipedia.org/wiki/Malloc
https://users.cs.jmu.edu/bernstdh/web/common/lectures/slides_cpp_dynamic-memory.php
http://www.flounder.com/inside_storage_allocation.htm