[asterisk-dev] [Code Review] MALLOC_HOLD for debugging memory

Tilghman Lesher tlesher at digium.com
Wed Jul 15 12:52:59 CDT 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/309/
-----------------------------------------------------------

(Updated 2009-07-15 12:52:59.597867)


Review request for Asterisk Developers.


Changes
-------

Change memory destructor to use a separate ordered list, in a separate thread.


Summary
-------

MALLOC_HOLD is an optional compile-time definition used to detect memory corruption.  It does this in a similar way to valgrind, although it does not slow down Asterisk appreciably (although the memory will grow somewhat larger than normal).


Diffs (updated)
-----

  /branches/1.4/build_tools/cflags.xml 205150 
  /branches/1.4/main/astmm.c 205150 

Diff: https://reviewboard.asterisk.org/r/309/diff


Testing
-------

Extensive testing with an idle system.


Thanks,

Tilghman




More information about the asterisk-dev mailing list