summaryrefslogtreecommitdiff
path: root/lib/common/MemLeakFinder.h
Commit message (Collapse)AuthorAge
* Add calloc() support to memory leak finder.Chris Wilson2013-09-19
|
* Add ability to generate memory usage reports while running.Chris Wilson2013-02-13
| | | | | | | | | | | | * ./configure CXXFLAGS=-DDEBUG_LEAKS * Build and run the binary as normal (release or debug) * Send SIGUSR1 to the process (e.g. killall -USR1 bbstored) * Check the system logs, or the console. Not safe for use on a production process, as it does illegal things in a signal handler that may result in the process hanging. Use only for debugging, and be prepared to kill any stuck processes.
* gcc 4.3 and 4.4 compile fixes, thanks to Reinhard Tartler and the DebianChris Wilson2009-04-03
| | | | | | | | project. See also: http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1 http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html
* Define DEBUG_NEW in the same file whether or not BOX_MEMORY_LEAK_TESTINGChris Wilson2007-07-26
| | | | | is defined, thanks Gary. (refs #3, merges [1668])
* Don't redefine the built-in operators new and delete unnecessarily (refs #3)Chris Wilson2006-12-29
|
* * Track memory leaks in allocations via the standard libraries, and Chris Wilson2006-11-13
| | | | | | | | | | | | | avoid malloc/delete mismatches, by overriding standard new operator. * Added another global enable flag to memleak finder, which is used to mark the end of static allocations and the start of dynamic code, since the memory leak detection is done before cleanup of static objects. * Added a public guard class, to allow safe scoped disabling of memory leak detection. * Added InternalAllocGuard to protect against recursive loops when allocating memory inside the memory leak checker. (refs #3)
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14