./devel/boehm-gc, Garbage collection and memory leak detection for C and C++

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2010Q3, Version: 7.1nb4, Package name: boehm-gc-7.1nb4, Maintainer: recht

The Boehm-Weiser garbage collection package, for C and C++ -
garbage collection and memory leak detection libraries.

A garbage collector is something which automatically frees malloc'd
memory for you by working out what parts of memory your program
no longer has pointers to. As a result, garbage collectors can also
inform you of memory leaks (if they find memory they can free, it means
you have lost all of your pointers to it, but you didn't free it).

This package has two libraries and some include files:
libgc.a - a garbage collection library, replaces malloc/free/new/delete/etc
with versions that do automatic garbage collection
libleak.a - a leak detection library, which is just libgc.a compiled with
different switches.

C programs may be linked against either of these, and should run (with
GC or leak detection) without change. C++ programs must include a header
to use garbage collection, though leak detection should work without
such source code modifications. See the man page and header files.

PS: garbage collection is addictive.


Master sites:

SHA1: e84cba5d18f4ea5ed4e5fd3f1dc6a46bc190ff6f
RMD160: 9338c1128686395739e3acd9052a651d1dffffb2
Filesize: 1052.455 KB

Version history: (Expand)