diff options
author | vasiljevic <zv@archiware.com> | 2005-04-07 11:33:33 (GMT) |
---|---|---|
committer | vasiljevic <zv@archiware.com> | 2005-04-07 11:33:33 (GMT) |
commit | b2c1ff759d079fa84741dbdd6731c219a380ac1b (patch) | |
tree | cc9e3a3bda845f30e3ce4c32cd86a3b4b7da5eb7 /ChangeLog | |
parent | 6ca86ff55e9908c05d9fff0366e849a58dfa4d2f (diff) | |
download | tcl-b2c1ff759d079fa84741dbdd6731c219a380ac1b.zip tcl-b2c1ff759d079fa84741dbdd6731c219a380ac1b.tar.gz tcl-b2c1ff759d079fa84741dbdd6731c219a380ac1b.tar.bz2 |
See file.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -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 |