summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2005-04-07 11:33:33 (GMT)
committervasiljevic <zv@archiware.com>2005-04-07 11:33:33 (GMT)
commitb2c1ff759d079fa84741dbdd6731c219a380ac1b (patch)
treecc9e3a3bda845f30e3ce4c32cd86a3b4b7da5eb7 /ChangeLog
parent6ca86ff55e9908c05d9fff0366e849a58dfa4d2f (diff)
downloadtcl-b2c1ff759d079fa84741dbdd6731c219a380ac1b.zip
tcl-b2c1ff759d079fa84741dbdd6731c219a380ac1b.tar.gz
tcl-b2c1ff759d079fa84741dbdd6731c219a380ac1b.tar.bz2
See file.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog26
1 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 10cdeac..b833fc8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2005-04-05 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
+
+ Set of changes correcting huge memory waste (not a leak)
+ when a thread exits. This has been introduced in 8.4.7
+ within an attempt to correctly cleanup after ourselves when
+ Tcl library is being unloaded with the Tcl_Finalize() call.
+
+ This fixes the Tcl Bug #1178445.
+
+ * generic/tclInt.h: added prototypes for TclpFreeAllocCache()
+ and TclFreeAllocCache()
+
+ * generic/tclThreadAlloc.c: modified TclFinalizeThreadAlloc()
+ to explicitly call TclpFreeAllocCache with the NULL-ptr as
+ argument signalling cleanup of private tsd key used only by
+ the threading allocator.
+
+ * unix/tclUnixThrd.c: fixed TclpFreeAllocCache() to recognize
+ when being called with NULL argument. This is a signal for it
+ to clean up the tsd key associated with the threading allocator.
+
+ * win/tclWinThrd.c: renamed TclWinFreeAllocCache to TclpFreeAllocCache
+ and fixed to recognize when being called with NULL argument.
+ This is a signal for it to clean up the tsd key associated with the
+ threading allocator.
+
2005-04-05 Don Porter <dgp@users.sourceforge.net>
* generic/tclExecute.c (ExprSrandFunc): Replaced incursions into the