diff options
| author | zv@archiware.com <vasiljevic> | 2005-04-07 11:33:33 (GMT) |
|---|---|---|
| committer | zv@archiware.com <vasiljevic> | 2005-04-07 11:33:33 (GMT) |
| commit | 9122151a5466a9992c010fd0ea89864db33e4ef1 (patch) | |
| tree | cc9e3a3bda845f30e3ce4c32cd86a3b4b7da5eb7 | |
| parent | 3079129469d2ee06b5af5e7ee360af604921f116 (diff) | |
| download | tcl-9122151a5466a9992c010fd0ea89864db33e4ef1.zip tcl-9122151a5466a9992c010fd0ea89864db33e4ef1.tar.gz tcl-9122151a5466a9992c010fd0ea89864db33e4ef1.tar.bz2 | |
See file.
| -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 |
