From: <no...@so...> - 2001-12-28 23:36:43
|
Bugs item #487677, was opened at 2001-11-30 13:36 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=487677&group_id=10894 Category: 39. Memory Allocation Group: 8.4a4 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Don Porter (dgp) Assigned to: Don Porter (dgp) Summary: memory.n wrong (out of date?) Initial Comment: The commands documented in doc/memory.n are: memory info memory trace on|off memory validate on|off memory trace_on_at_malloc $count memory break_on_malloc $count memory display file The commands actually implemented in generic/tclCkalloc.c are: checkmem memory active $file memory break_on_malloc $count memory info memory init on|off memory tag $string memory trace on|off memory trace_on_at_malloc $count memory validate on|off They ought to match. The attached patch bring the MemoryCmd() comment within generic/tclCkalloc.c up to date, and updating doc/memory.n is left to the maintainer. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2001-12-28 15:36 Message: Logged In: YES user_id=80530 committed to HEAD (8.4a4) after a few improvements. Final version of patch attached. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2001-12-28 14:56 Message: Logged In: YES user_id=72656 looks good to me. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2001-12-17 16:43 Message: Logged In: YES user_id=80530 Here's an updated patch: * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem): Added the [memory onexit] command, intended to replace [checkmem]. * doc/DumpActiveMemory.3: * doc/memory.n: Updated documentation for [memory] and related matters. [Bug 487677] * mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the machinery for the [checkmem] command that is completely duplicated by code in generic/tclCkalloc.c. * generic/tclBinary.c: * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Removed references to [checkmem] in comments, referencing [memory active] instead, since it is documented. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=487677&group_id=10894 |