Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-11-25
05:16 • Deleted ticket [2340332fff]: additional RefCount traccking for Tcl_Obj's... artifact: 811f66b662 user: wiede
05:13 • Ticket [2340332fff]: 4 changes artifact: ed43b549a4 user: wiede
05:13 • Add attachment tclObj.c to ticket [2340332fff] artifact: 605bc5ade0 user: wiede
2008-11-24
22:13 • New ticket [2340332fff] additional RefCount traccking for Tcl_Obj's. artifact: 0d5759efd9 user: wiede

additional RefCount traccking for Tcl_Obj's

Deleted2340332fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-11-24 22:13:41
this patch contains additional code for keeping track of Tcl_Obj refcounts for debugging. It is switch on with th compile time flag -DOBJ_REF_COUNT_DEBUG. It maintains a list with references where the objects refcount was incremented/decremented. at the end one can call a dumping function to show all Tcl_Obj's where the refcount is still > 0. An extension writer can find the places for the extension in looking for the path part in the output. It is also possible to find Tcl_Obj's where the refcount is < -1.
wiedeplain2008-11-25 05:13:41
File Added - 302803: tclObj.c
wiede Deleted ticket [2340332fff]. [History diff]2008-11-25 05:16:11
Log in (anonymous is fine) to add a comment.

Attachments: