⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news

📁 减少内存碎片的malloc分配函数
💻
📖 第 1 页 / 共 2 页
字号:
	* Migrated in new argv code.Version 4.0.0 (10/04/1998):	* Made a small change to the solaris return.h code.	* Added recalloc support into the library.	* Cleaned up the calloc special handling and accounting.	* Added valloc support to the library for OSF thread libraries.	* Improved the pthread autoconfiguration and the code.	* Got rid of the _dmalloc_file and _dmalloc_line crap.	* Added FTX return.h information.	* Added direct strdup support to the library.Version 3.3.1 (02/10/1998):	* Shifted some flags to ints instead of longs.	* Improved error string handling.	* Removed allocation macros from the docs and the header.	* Added realloc(pnt, 0) works like free(pnt).	* Reworked log_error_info routine's dumping of the upper fence post.Version 3.3.0 (12/08/1997):	* Added THREAD_LOCK_INIT_VAL autoconfigure.	* Performed some long overdue major code cleaning.	* Renamed argv.[ch] to dmalloc_argv.[ch] to not clash with argv files.	* Added return address handling for SGI.	* Added better C++ overload functions.	* Added test for DMALLOC_SIZE unsigned-ness.	* Added a FINI_DMALLOC setting to settings.dist for OSF __fini_ stuff.	* Added pthread lock_on -o environmental settings.Version 3.2.1 (03/21/1997):	* Added to dmalloc the ability to recognize its internal tags.	* Added better documentation of auto-dmalloc_shutdown.	* Fixed a number of signed/unsigned problems.	* Removed autoconf rule in Makefile.all.	* Cleaned up pthreads locking delay code.Version 3.2.0 (01/17/1997):	* Added catch-signals debug token.	* Improved configure script to use cache and new autoconf macros.	* Updated the GNU support scripts and configure.	* Fixed the locking for pthread programs.  Dumb errors.	* Ran new fillproto on h-files.  IMPORT -> extern.Version 3.1.3 (12/28/1995):	* Removed silent dumps of test program.	* Removed some unresolved references in argv.c: strcasecmp, strdup.	* Fixed some porting problems to Unixware.  Unsigned chars!!Version 3.1.2 (10/10/1995):	* Changes to basic-block handling in chunk.  Fixed non-linear code.	* Added inital thread locking for debugging threaded programs.	* Added settings.dist file which is copied to settings.h during config.	* New attempts to auto-configure DMALLOC_SIZE for size_t.	* Added dmalloc_aborting flag in case kill or abort recurses. 	* Added new[] C++ function.Version 3.1.1 (08/18/1995):	* Added better non-linear processing.	* Made non-linear now default behaviour with internal dmalloc tags.	* Fixed up dmalloc_t to propogate errors better.Version 3.1.0 (07/14/1995):	* pulled manual settings out of conf.h to settings.h.	* Added error-dump token for dumping-core and continuing on errors.Version 3.0.7 (05/31/1995):	* New release to fix some version problems.Version 3.0.6 (05/12/1995):	* Added Web pointers to online documentation.	* Added abort() auto-configuration for KILL_PROCESS.	* Fixed problem with NEVER_REUSE and realloc same block-size.	* Logged starting/ending time in logfile.	* Added thread-id tracking with conf.h option.	* Added pointer-count tracking with conf.h option.	* Added interation-count tracking with conf.h option.	* Added global/relative time tracking with conf.h option.	* Better tag output from dmalloc -t.	* New version of argv files.	* Fixed problem with dmalloc -c and start-count.	* Added some messages about upcoming errors in dmalloc_t.	* Added allow-zero token for not minding malloc(0) and free(0L).	* Made all chunk.c global counters longs.Version 3.0.5 (01/02/1995):	* Fixed some old references to malloc in docs.Version 3.0.4 (12/15/1994):	* Definitions for DMALLOC_PNT and DMALLOC_FREE_RET.	* Removed all STRDUP and BDUP macros.  Was anyone using them?	* Added a "dying" message when _malloc_die is called.	* Reworked the manual a ton.  Added Quick-Start+Installation sections.Version 3.0.3 (11/03/1994):	* Added dmalloc.cc C++ file to distribution.	* Default is now to build/install a libdmalloclp.a library.	* Removed the log-error tag.  If logfile set then errors are logged.	* Fixed problem with new args clearing all old ones.	* Added dmalloc.h.2 creation to config.status file.	* Added a startup message with the debug flags used to logfile.	* Fixed errors with FUNC_CHECK code.	* Added default tags: default,low,medium,high,all to dmalloc.	* Renamed 'check-free' token to 'check-blank'.	* Made many changes to make it easier to get running with dmalloc.	* Added long(-L)/short(-S) options to output debug-tokens in env.	* Changed some dmalloc options:		* -T (list-tokens) -> -D (debug-tokens)		* -L (list-tags) -> -t (list-tags)	* Added better error logging in chunk.	* Added DG/UX code to return.h and atexit.c to contrib.Version 3.0.2 (09/26/1994):	* Fixed strtok error in dmallocrc file processing.	* Fixed problems with env code when sprintf doesn't returns int.	* Library now dumps the proper fence-bottom bytes on 1st pointer error.	* Fixed casting problems on OSF.Version 3.0.1 (09/20/1994):	* Combined all env variables into DMALLOC_OPTIONS.	* Added -n flag to dmalloc program for printing/not-doing actions.	* Fixed zsh and [t]csh alias messages in documentation.	# Added mkinstalldirs and install.sh to distribution.	* Renamed _dmalloc_error to dmalloc_error.	* Removed time() and getpid() from compat functions.	* Changed DMALLOC_DEBUG_DISABLE flag to DMALLOC_DISABLE.	* Fixed some include file auto-include messages.Version 3.0.0 (09/08/1994):	* Fixed a problem with some list checking.	* Fixed possible recursion problem.	* Tons of name changes going from malloc_dbg -> dmalloc.Version 2.2.1 (08/27/1994):	* Small fix to malloc_dbg.3 to remove IMPORT's.Version 2.2.0 (08/08/1994):	* Fixed xmalloc,xrealloc,etc. override functions.	* Added xstrdup to the x override function list.	* Added ability to combine adjacent free blocks into one.	* 0 or negative MALLOC_INTERVAL values act as if no interval value.	* Made a 'malloc_dbg -i 0' undefine MALLOC_INTERVAL.	* Fixed calloc return-address problem.	* Added KILL_PROCESS macro to configuration scripts.	* Marty Leisner compiles library on MS-DOG!	* Fixed some problems with malloc_errno set after call to error.Version 2.1.0 (05/11/1994):	* Fixed problem with never-reuse going on/off and check-lists.	* Added -r (random-debug) option to malloc_t.	* Fixed nasty bug in realloc with alloc-blank + no realloc-copy token.	* Fixed problem with ANSI-C configure on AIX systems.	* Fixed some race conditions with sbrk failure.	* Added -p max-pointers argument to malloc_t.	* Added 'log-nonfree-space' token for logging unfreed memory space.	* Added iteration count label to all logfile output.  See conf.h.	* Added xmalloc,xrealloc,etc. override functions.	* Added better mechanisms for const definition.	* Lots of install, notes, misc. changes.	* Renamed token 'log-perror' and 'print-perror' to '...-error'.Version 2.0.1 (02/27/1994):	* Cleaned up a number of configure/compat functions.	* Fixed tons of __STDC__ defines.  Finally I hope.	* Added more commands to malloc_t to log information, etc.Version 2.0.0 (02/18/1994):	* Lots of changes to add argv files in place of argv subdir.	* Added initial support for external block locating.	* Added 'allow-nonlinear' token to remove special checks.	* Renamed dbg_tokens.h -> debug_tok.h and dbg_values.h -> debug_val.h	* Added -V option to malloc_dbg and desc field for debug-token list.	* Added a debugging section to the manual.	* Added light and heavy makefile targets for automatic testing.	* Much improved heap code with per-block allocations (not base 2).	* Better free list management with block splitting.Version 1.3.6 (11/22/1993):	* Fixed some compilation errors with non-STDC systems.Version 1.3.5 (11/22/1993):	* More automatic and comprehensive malloc_t testing facilities.	* Added -T (list-tokens) to malloc_dbg: for listing of debug tokens.	* Added 'never-reuse' token to never reuse free'd memory.	* Added on_exit and atexit support to auto-call malloc_shutdown.	* Added hooks to all malloc utility functions to malloc_lp.o.	* Removed debug token log-ra since log-unknown should be enough.	* malloc_heap_map() -> malloc_log_heap_map() for consistency.	* Added malloc_log_unfreed() to dump non-free memory to logfile.	* Added -m (minus) option to malloc_dbg to allow removing of tokens.	* Added -p flag to malloc_dbg to allow adding of tokens to debug value.	* Added DEBUG_LOG_STAMP to add timestamps to log entries.	* Added malloc_log_stats() to dump stats to a file.	* Re-added cfree() call.  No reason not to have it.Version 1.3.4 (09/26/1993):	* Fixed compat function problems, added checks for -std1 cc flags.	* Fixed debug messages to reflect reality.	* Added malloc_debug_current and changed #if __STDC__ -> #ifdef	* Removed log-bad-pnt.  What an unnecessary token!Version 1.3.3 (09/20/1993):	* Fixed configuration problems with memcpy/bcopy and memcmp/bcmp.	* Added free's file/line to log_bad_pnt messages.	* Renamed all error codes to ERROR_*.Version 1.3.2 (08/26/1993):	* Removed MALLOC_TRACE and -t, replaced with MALLOC_ADDRESS:0.	* Fixed some const problems.	* Added ability of MALLOC_LOGFILE.%d for getpidVersion 1.3.1 (08/24/1993):	* Added 'log-ra' token to log return-address info (NOTE: later removed)	* Added the beginnings of return-address handling	* Added -L or --list to malloc_dbg to list all the rc-file tags.Version 1.3.0 (08/17/1993):	* Added MALLOC_TRACE variable and malloc_dbg -t (NOTE: later removed)	* Added some C++ from Peter Miller to the manual.	* Removed LGPL and replaced it with fully free software notices.	* _malloc_perror renamed to _malloc_error	* Made malloc_address exported so it can be setable by debugger.	* Added auto-sensing of shell by malloc_dbg and -C option.	* Removed dblock checking tokens 'check-dblock-fence' + 'check-dblock'.Version 1.2.6 (07/13/1993):	* Added 'catch-null' token for quitting as soon as we get sbrk failure.Version 1.2.5 (06/15/1993):	* Added -r and -k options for auto-unsetting or keeping of variables.	* Added 'log-bad-space' token and added expand_buf into chunk.c.	* Create log_bad_pnt in chunk.Version 1.2.4 (05/13/1993):	* Added -v option to malloc_dbg to provide verbose output.Version 1.2.3 (04/19/1993):	* Renamed malloc.h to malloc_dbg.h and libmalloc.a to libmalloc_dbg.a.Version 1.2.2 (04/14/1993):	* Added some more point checking tests to malloc_str.Version 1.2.1 (04/09/1993):	* Changed to void * internally, put STDC defines in malloc.h for ANSI.	* Made a number of changes per suggestions from the net.Version 1.2.0 (04/06/1993):	* Uploaded to comp.sources.unix

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -