Tcl Source Code

View Ticket
Login
Ticket UUID: 2339168
Title: additional RefCount traccking for Tcl_Obj's
Type: Patch Version: None
Submitter: wiede Created on: 2008-11-24 15:12:36
Subsystem: 41. Memory Allocation Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Open Last Modified: 2008-12-10 23:29:30
Resolution: None Closed By:
    Closed on:
Description:
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.
User Comments: wiede added on 2008-12-10 23:29:30:

File Deleted - 302737:

wiede added on 2008-12-10 23:29:16:

File Added - 304806: tclObj.c

wiede added on 2008-11-24 22:12:36:

File Added - 302737: tclObj.c

Attachments: