Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-12-11
09:52 • Ticket [2098955fff] TCL_COMPILE_STATS lacking a mutex status still Open with... artifact: d6eafe4ddc user: msofer
2009-05-01
08:26 • Ticket [2098955fff]: 1 change artifact: 663e917e33 user: msofer
08:24 • Ticket [2098955fff]: 1 change artifact: acfddba6d1 user: msofer
2008-09-10
02:58 • Ticket [2098955fff]: 4 changes artifact: c74b99114e user: ferrieux
2008-09-09
23:28 • Ticket [2098955fff]: 4 changes artifact: 0d39cce861 user: msofer
2008-09-07
17:52 • New ticket [2098955fff]. artifact: 1d48b15a99 user: msofer

TCL_COMPILE_STATS lacking a mutex

Open2098955fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 17 years ago
Descriptionplain2008-09-07 17:52:02
Access to tclObjsAlloced and tclObjsFreed should be protected by a mutex in threaded builds.
msoferplain2008-09-09 23:28:33
Mmhhh ... the objsAlloced stat does not make much sense in threaded builds: its main interest is to see the % of literals, but literals are per interp and we cannot track which interp is allocating the objs anyway (Tcl_New*Obj has no interp argument). So this is mostly interesting in single-interp cases.
ferrieuxplain2008-09-10 02:58:46
Miguel, isn't it your plan to progressively change those interp-agnostic calls into interp-argument ones, in order to avoid the TSD lookup overhead ?
msofer Ticket [2098955fff]: 1 change [History diff]2009-05-01 08:24:18
msofer Ticket [2098955fff]: 1 change [History diff]2009-05-01 08:26:40
msofer Ticket [2098955fff]: 1 change [History diff]2009-12-11 09:52:13
Log in (anonymous is fine) to add a comment.