freebsd-ports/devel/boehm-gc-redirect/pkg-descr
Stanislav Sedov 006d834cf5 - Add port for boehm-gc garbage collector variant with malloc redirection.
This port will install only shared libraries with malloc redirection enabled,
  that will allow for easy dependency handling for ports that required libgc
  build with specific features and will allow to avoid hacks of building own
  version of libgc library.
2009-12-18 04:07:24 +00:00

20 lines
943 B
Text

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).
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.
This package only brings Boehm-GC libraries with malloc redirection.
-- Mike McGaughey <mmcg@cs.monash.edu.au>
ps: garbage collection is addictive.
WWW: http://www.hpl.hp.com/personal/Hans_Boehm/gc/