Related articles |
---|
Suggestions for C malloc debugging tool f81@ix.urz.uni-heidelberg.de (1997-01-07) |
Re: Suggestions for C malloc debugging tool vlaures@igcom.fr (Laurent Sabarthez) (1997-01-09) |
Re: Suggestions for C malloc debugging tool jlilley@empathy.com (1997-01-09) |
Re: Suggestions for C malloc debugging tool colas@aye.inria.fr (1997-01-09) |
Re: Suggestions for C malloc debugging tool lijnzaad@ebi.ac.uk (Philip Lijnzaad) (1997-01-12) |
Re: Suggestions for C malloc debugging tool dickey@clark.net (T.E.Dickey) (1997-01-12) |
Re: Suggestions for C malloc debugging tool stephens@math.ruu.nl (1997-01-12) |
Re: Suggestions for C malloc debugging tool cef@geodesic.com (Charles Fiterman) (1997-01-12) |
Re: Suggestions for C malloc debugging tool patil@ch.hp.com (Harish Patil) (1997-01-22) |
Re: Suggestions for C malloc debugging tool taustin@ichips.intel.com (1997-01-25) |
Re: Suggestions for C malloc debugging tool mercier@cinenet.net (1997-01-25) |
From: | Philip Lijnzaad <lijnzaad@ebi.ac.uk> |
Newsgroups: | comp.compilers |
Date: | 12 Jan 1997 10:49:05 -0500 |
Organization: | EMBL Outstation Hinxton - European Bioinformatics Institute, UK |
References: | 97-01-050 97-01-070 |
Keywords: | C, debug, GC |
> Joerg Schoen wrote:
> >[instrument C source code with pointer validity checks]
>
> Let me start off by saying that I believe *anything* to decrease the
> chance of pointer errors in "C" is a good thing (assuming you must use
> C at all).
Seconded. One step in this direction is to use a garbage
collector. Might even result in faster code (see
http://www.centerline.com/people/chase/GC/GC-faq.html). A well-known
public domain plug-in replacement for malloc() is Boehm's gc (see
ftp://parcftp.xerox.com/pub/gc/gc.html). Boehm's garbage collector
can, to a certain extent, be used for finding memory leaks.
Philip Lijnzaad
--
finger lijnzaad@ebi.ac.uk for PGP public key
fingerprint: E1 03 BF 80 94 61 B6 FC 50 3D 1F 64 40 75 FB 53
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.