Debug Malloc (Dmalloc) Library Release Notes
Version: Release 5.3.0
Last-Version: 5.2.4
Date: January 28, 2004
Overview
New Functionality
Dmalloc Utility
Debug Tokens
settings.dist
Installation
Programming
Environmental Variables
Bugs Fixed
A feature addition release with a number of new features plus 1
bad bug fix.
- Added ability to disable the LARGEST_ALLOCATION setting
by defining it to be 0 in settings.h.
- Added dmalloc_count_changed function which allows you to
count the memory that has has either been freed or allocated since a
certain mark. Thanks to Brian O'Kelley.
- Added the check-shutdown token support to check the
pointers in the heap when we are shutting the library down. Thanks to
Charles for the idea.
- Added a --start-size argument to the dmalloc utility to
start the library checking the heap after we allocate a certain size
of memory. Thanks to andyc_2k.
- Added a dmalloc_memory_allocated function which returns
the total number of bytes allocated by the programs so far.
- Added the dmalloc_verify_pnt function to better check a
single pointer by external functions. See the bugs section
below.
- Added a --start-size argument to the dmalloc utility to
start the library checking the heap after we allocate a certain size
of memory. Thanks to andyc_2k.
- Added the check-shutdown token support to check the
pointers in the heap when we are shutting the library down. Thanks to
Charles for the idea.
None.
None.
- Added ability to disable the LARGEST_ALLOCATION setting
by defining it to be 0 in settings.h.
- The start part of the environmental variable now has 3
different forms. It can be an integer in which case the library will
enable checking of the heap after that many calls to it have occurred.
It can be a filename:line-number in which case heap checking will be
started when that location is reached. The 3rd and new form is an
integer preceded with the letter 's' in which case heap
checking will be enabled after that man bytes have been allocated by
the library.
- Fixed a bad bug in where calls to the heap pointer checking code
by the arg_check.c functions were not doing the thread-locking. Ugh.
Thanks much to Guy (guyresh).
Dmalloc Home Page.
Copyright 2004 Gray Watson.