: <i> Memory usage degradations after enabling thread in TCL</i> plus 4 other changes
by
.
D 2026-10-14T14:19:29.110
J icomment Yes,\sit\sis\ssafe:\swithout\sUSE_THREAD_ALLOC,\sTcl\s8.6\suses\sthe\ssystem\smalloc()\sand\sfree(),\swhich\sare\sthread-safe,\sbut\scan\sbe\sslower\swhen\smany\sthreads\sallocate\sat\sthe\ssame\stime.\sAs\ssebres\swrote,\sthe\sthreaded\sallocator\skeeps\sfreed\smemory\sfor\sreuse\sinstead\sof\sreturning\sit\sto\sthe\ssystem;\sthis\sis\sby\sdesign.\sThe\sfragmentation\sproblem\sis\stracked\sin\s[3d1c409f1a].
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
J resolution Invalid
J status Closed
K 5ee1a650b7b537514162f3d9ce01317298ed45f5
U serhiy.storchaka
Z 7da6575535e5f99648226375a3558ad3