| Project Name | LibGC |
| Category | Libraries |
| Programming Language | C++ |
| Project Home Page | http://sourceforge.net/projects/libgc/ |
| License(s) | Revised BSD |
| License URL(s) | |
| Tags (edit) | garbage collection, memory |
LibGC is a garbage-collection library for C++. The most important features of the library are:
- portability; the library is easily portable because it uses standard C++.
- threads support. Optionally single-threaded.
- easy to use: it has only two classes.
- fast.
- precise; it is only pointers that are scanned.
LibGC uses the mark and sweep algorithm: when there is not enough memory, live objects are marked, and unreachable objects are deleted. A smart allocation algorithm ensures fast allocation of objects. The memory is not defragmented during a collection (due to the difficulty of that), but the allocation algorithm makes sure memory is sufficiently re-used.
Reviews
Be the first person to review this project!
User tips
Related books
| Title | Authors |
|---|---|
| Garbage Collection : Algorithms for Automatic Dynamic Memory Management | Richard Jones et al. |
Last modified on 2006-02-27 23:00:40.633 (rel. 2).
