Tcl Source Code

View Ticket
Login
Ticket UUID: 2340332
Title: additional RefCount traccking for Tcl_Obj's
Type: Patch Version: None
Submitter: wiede Created on: 2008-11-24 22:13:41
Subsystem: 41. Memory Allocation Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Deleted Last Modified: 2008-11-25 05:16:11
Resolution: None Closed By: wiede
    Closed on: 2008-11-24 22:16:11
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-11-25 05:13:41:

File Added - 302803: tclObj.c

Attachments: