Ticket UUID: | 487677 | |||
Title: | memory.n wrong (out of date?) | |||
Type: | Bug | Version: | obsolete: 8.4a4 | |
Submitter: | dgp | Created on: | 2001-11-30 21:36:23 | |
Subsystem: | 41. Memory Allocation | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2001-12-29 06:36:43 | |
Resolution: | Fixed | Closed By: | dgp | |
Closed on: | 2001-12-28 23:36:42 | |||
Description: |
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. | |||
User Comments: |
dgp added on 2001-12-29 06:36:43:
File Deleted - 14828: File Added - 15208: final.patch dgp added on 2001-12-29 06:36:42: Logged In: YES user_id=80530 committed to HEAD (8.4a4) after a few improvements. Final version of patch attached. hobbs added on 2001-12-29 05:56:22: Logged In: YES user_id=72656 looks good to me. dgp added on 2001-12-18 07:43:03: File Deleted - 14014: File Added - 14828: memory.patch dgp added on 2001-12-18 07:43:02: 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. dgp added on 2001-12-01 04:36:28: File Added - 14014: memory.patch |
Attachments:
- final.patch [download] added by dgp on 2001-12-29 06:36:42. [details]