diff options
author | welch <welch> | 1999-10-30 00:27:22 (GMT) |
---|---|---|
committer | welch <welch> | 1999-10-30 00:27:22 (GMT) |
commit | 7dc09492f052344474475f9d24403ce20d1022c2 (patch) | |
tree | 08944006c817cac120da14ce5cc9bfc7c41b2644 /ChangeLog | |
parent | b24019fd0f6c95e5f950963a0165b8d056eae67f (diff) | |
download | tcl-7dc09492f052344474475f9d24403ce20d1022c2.zip tcl-7dc09492f052344474475f9d24403ce20d1022c2.tar.gz tcl-7dc09492f052344474475f9d24403ce20d1022c2.tar.bz2 |
Cleanup of the TclNewObj family of macros, and elimination of the
special Tcl_Obj memory allocator for the TCL_THREADS case, because
this only adds lock contention.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +1999-10-29 Brent Welch <welch@scriptics.com> + * generic/tclInt.h: Modified the TclNewObj and TclDecrRefCount + in two ways. First, in the case of TCL_THREADS, we do not use + the special Tcl_Obj allocator because that is a source of + lock contention. Second, general code cleanup to eliminate + duplicated code. In particular, TclDecrRefCount now uses + TclFreeObj instead of duplicating that code, so it is now + identical to Tcl_DecrRefCount. + + * generic/tclObj.c: Changed Tcl_NewObj so it uses the + TclNewObj macro instead of duplicating the code. Adjusted + TclFreeObj so it understands the TCL_THREADS case described + above. + 1999-10-28 Jeff Hobbs <hobbs@scriptics.com> * unix/aclocal.m4: made it just include tcl.m4 |