summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-06-18 09:41:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-06-18 09:41:25 (GMT)
commitbf70bdd02363606dc3d81c1a97059be6ecaec3b6 (patch)
tree7145a35ee01103f7cbd6ba44dd6c5a4f718539ae /doc
parent9061f4d8529c1f16c80c71cc3d2bbe9bf33a8b97 (diff)
downloadtcl-bf70bdd02363606dc3d81c1a97059be6ecaec3b6.zip
tcl-bf70bdd02363606dc3d81c1a97059be6ecaec3b6.tar.gz
tcl-bf70bdd02363606dc3d81c1a97059be6ecaec3b6.tar.bz2
Apply patch from [Bug 988703]. Many thanks to Joe Mistachkin for development.
Diffstat (limited to 'doc')
-rw-r--r--doc/memory.n13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/memory.n b/doc/memory.n
index 0bc1b64..b269d7a 100644
--- a/doc/memory.n
+++ b/doc/memory.n
@@ -3,7 +3,7 @@
'\" Copyright (c) 2000 by Scriptics Corporation.
'\" All rights reserved.
'\"
-'\" RCS: @(#) $Id: memory.n,v 1.13 2008/10/17 10:22:25 dkf Exp $
+'\" RCS: @(#) $Id: memory.n,v 1.14 2009/06/18 09:41:30 dkf Exp $
'\"
.so man.macros
.TH memory n 8.1 Tcl "Tcl Built-In Commands"
@@ -41,10 +41,17 @@ number of calls to \fBckalloc\fR not met by a corresponding call
to \fBckfree\fR), the current bytes allocated, and the maximum number
of packets and bytes allocated.
.TP
-\fB memory init \fR[\fBon\fR|\fBoff\fR]
+\fBmemory init \fR[\fBon\fR|\fBoff\fR]
.
Turn on or off the pre-initialization of all allocated memory
-with bogus bytes. Useful for detecting the use of uninitialized values.
+with bogus bytes. Useful for detecting the use of uninitialized
+values.
+.TP
+\fBmemory objs \fIfile\fR
+.
+Causes a list of all allocated Tcl_Obj values to be written to the specified
+\fIfile\fR immediately, together with where they were allocated. Useful for
+checking for leaks of values.
.TP
\fBmemory onexit\fR \fIfile\fR
.