.
D 2026-10-12T15:23:29.697
J icomment On\sLinux\sI\scannot\sreproduce\sthis\swith\s8.6.17,\s9.0.3\sand\s9.1\sand\sThread\s3.0.4:\sthe\nmemory\sstays\sflat\sover\s100000\sthreads.\sOn\sWindows\seach\sjoinable\sthread\swhich\sexits\nbefore\sit\sis\sjoined\sleaks\sabout\s9\sKB:\s<code>TclSignalExitThread()</code>\screates\sthe\nmutex\sof\sthe\sjoin\srecord\sin\sthe\sexiting\sthread,\safter\sits\sallocator\scache\shas\sbeen\nfinalized,\sso\sa\snew\scache\sis\screated\sand\snever\sfreed.\n\nProposed\sfix\sin\sbranch\s[/timeline?r=win-join-mutex-leak|win-join-mutex-leak]:\screate\nthe\smutex\sin\s<code>TclRememberJoinableThread()</code>.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 3381371fffffffffffffffffffffffffffffffff
U serhiy.storchaka
Z 863b8c196a8f5fccbef15ca59a09cb3e