Overview
| Artifact ID: | e03959d92063bfed4e83780ae9a9ae19609e1708 |
|---|---|
| Ticket: | 994838ffffffffffffffffffffffffffffffffff
memory leak in interpreter creation/deletion loop |
| User & Date: | msofer on 2011-04-26 09:30:01 |
Changes
- icomment:
Chatlogs: dgpFor when I get back, I'm curious about the purpose of TclCleanupLiteralTable(). kbkdgp - ISTR that the literal table is one case where it's possible that Tcl_Obj's' int-reps can hold references to each other, and that a bespoke cleanup was needed to break cycles and actually kill them, but I may dgphere's my observations dgpTCLT() is called in only one place, DeleteInterpProc(.) in tclBasic.c dgpAbout 100 lines later in the same DIP(.) routine, TclDeleteLiteralTable() is called. dgpTCLT only removes intreps of literal values. dgpTDLT actually frees them, which would destroy intreps if any were still around. dgpThe value of the TCLT pass is not clear to me. dgpCommenting it out has no effect on the success of the test suite. dgphmmm, TCLT is not in Tcl 8.4, so the history of its origin ought to be findable....
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"