88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
+
+
+
+
+
+
+
|
directives. This is often described as "memdebug extensions only work in
memdebug interps", but the problem may well be more far-reaching than that.
It's a bit of an inelegance that the forms of the routines that support
re-configuration into memory debugging forms are the <b>*ck*</b>
so that code using the Tcl library is encouraged to call <b>ckalloc</b>
rather than <b>Tcl_Alloc</b>.
At least some parts of Tcl's memory management exhibit a <i>high water mark</i>
behavior where freed memory is not actually released to the system, but retained
by libtcl for later re-allocation. This is a poor fit for those programs that have
very large, but very temporary memory demands. It's not clear to me whether
that (mis-)behavior originates in this module, but a later wiki editor can revise this
into a more definitive statement.
Some branches exploring reforms in this module include
* [/timeline?r=mig-alloc-reform|mig-alloc-reform]
* [/timeline?r=mig-strip-brutal|mig-strip-brutal]
* [/timeline?r=nonmonotonic-obj-alloc|nonmonotonic-obj-alloc]
* [/timeline?r=novem-more-memory-API|novem-more-memory-API]
* [/timeline?r=novem-64bit-sizes|novem-64bit-sizes]
|