> For the complete documentation index, see [llms.txt](https://hansimov.gitbook.io/csapp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hansimov.gitbook.io/csapp/labs/malloc-lab.md).

# 实验 8：Malloc Lab

## 实验附件

* README
  * <http://csapp.cs.cmu.edu/3e/README-malloclab>
* Writeup
  * <http://csapp.cs.cmu.edu/3e/malloclab.pdf>
* 版本历史
  * <http://csapp.cs.cmu.edu/3e/malloclab-release.html>
* 自学材料
  * <http://csapp.cs.cmu.edu/3e/malloclab-handout.tar>

## 实验简介

学生实现他们自己版本的 malloc、free 和 realloc。该实验让学生对数据布局和组织有一个清晰的理解，并要求他们评估空间和时间效率之间的不同权衡。我们最喜欢的实验之一。学生完成它后，将真正理解指针！
