[svlug] Garbage Collection in C
Don Marti
dmarti at zgp.org
Wed Nov 26 12:10:55 PST 2003
begin Jeffrey Siegal quotation of Wed, Nov 26, 2003 at 05:48:55AM -0800:
> The Boehm-Demers-Weiser collector is mature, open source, and generally
> well regarded. More info including source and numerous technical papers
> here: http://www.hpl.hp.com/personal/Hans_Boehm/gc/
Example code that does this:
/*
* Using the malloc hooks to substitute GC functions
* to existing malloc/free.
* Similar wrapper functions can be written
* to redirect calloc() and realloc()
*/
here:
http://www.linuxjournal.com/article.php?sid=6679
--
Don Marti
http://zgp.org/~dmarti Learn Linux and free software
dmarti at zgp.org from the experts in California, USA
http://freedomtechnologycenter.org/
More information about the svlug
mailing list