Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-12-10
23:29 • Ticket [2339168fff] additional RefCount traccking for Tcl_Obj's status s... artifact: 0475576ab2 user: wiede
23:29 • Ticket [2339168fff]: 4 changes artifact: e125b0e8a1 user: wiede
23:29 • Add attachment tclObj.c to ticket [2339168fff] artifact: 7bb66dc7e1 user: wiede
2008-11-24
22:12 • Ticket [2339168fff] additional RefCount traccking for Tcl_Obj's status s... artifact: 2986317703 user: wiede
15:12 • New ticket [2339168fff]. artifact: 644755d39f user: wiede

additional RefCount traccking for Tcl_Obj's

Open2339168fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-11-24 15:12:36
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-24 22:12:36
File Added - 302737: tclObj.c
wiedeplain2008-12-10 23:29:16
File Added - 304806: tclObj.c
wiedeplain2008-12-10 23:29:30
File Deleted - 302737:
Log in (anonymous is fine) to add a comment.

Attachments: