aboutsummaryrefslogtreecommitdiff
path: root/devel/boehm-gc-redirect/pkg-descr
blob: cb6a98e24e38d9ca178f9435f4ef339f70f06d12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.

ps: garbage collection is addictive.

WWW: https://www.hboehm.info/gc/