| 1 |
This directory contains the implementation of the Reap memory |
| 2 |
manager. Reap is a hybrid region-heap allocator. You can use Reap to |
| 3 |
create multiple memory allocation regions ("reaps"), that each have |
| 4 |
malloc-free functionality. These may be nested and deleted en |
| 5 |
masse. See doc/berger-oopsla2002.pdf for more information. |
| 6 |
|
| 7 |
The Reap API is in reap.h. libreap.cpp produces a shared object that |
| 8 |
replaces malloc/free and provides reap functionality. If you just want |
| 9 |
reap functionality, you can compile regionheap.cpp instead (which |
| 10 |
differs from libreap.cpp by exactly one line). |
| 11 |
|
| 12 |
The files regionsimulator.{h,cpp} are wrappers that provide reap and |
| 13 |
obstack functionality on top of malloc/free, and were used for |
| 14 |
experimental purposes in the paper mentioned above. |