summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorwelch <welch>1999-10-30 00:27:22 (GMT)
committerwelch <welch>1999-10-30 00:27:22 (GMT)
commit7dc09492f052344474475f9d24403ce20d1022c2 (patch)
tree08944006c817cac120da14ce5cc9bfc7c41b2644 /ChangeLog
parentb24019fd0f6c95e5f950963a0165b8d056eae67f (diff)
downloadtcl-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--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a551846..8a3b82d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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