This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is it possible to detect the memory status ?
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: "John \(Eljay\) Love-Jensen" <eljay at adobe dot com>
- Cc: Mustafa4LP <mustafa dot hussain at nechclst dot in>, GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 27 Jan 2009 22:30:23 +0100
- Subject: Re: Is it possible to detect the memory status ?
- References: <C5A45A67.376CE%eljay@adobe.com>
* John Love-Jensen:
> If you just want your custom heap library to be used for diagnostics to
> detect programmer error... well, it shouldn't be difficult to implement
> non-optimized heap manager.
If performance really doesn't matter, simply running the program under
valgrind is often very helpful.