Is it possible to detect the memory status ?

Florian Weimer fw@deneb.enyo.de
Tue Jan 27 21:30:00 GMT 2009


* 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.



More information about the Gcc-help mailing list