Skip to content
Tcl Source Code Artifact [139a71d4b2]
Login

Artifact [139a71d4b2]

Artifact 139a71d4b2d3329a8cd597c731934179dcfa909f:

Ticket change [139a71d4b2] - Ticket [467523ffffffffff|467523ffff] <i>memory leak in [namespace eval foo {}]</i> status still Open with 5 other changes by msofer on 2001-10-05 20:37:05.
D 2001-10-05T20:37:05
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nThe\sproblem\s(I\sthink)\sis\sthat\sthe\sobject\sreferred\sto\sby\sthe\nliteral\s""\sin\sthe\sslave\sinterp\sis\snever\sfreed,\sas\sit\sis\nself-referential:\sthe\sbytecode\spushes\sitself\son\sthe\sstack,\nso\sthat\sthe\sbytecode\sobject\salways\shas\srefCount\s>=1\s-\sit\nappears\sin\sits\sown\slocal\sliteral\stable.\s\n\nThe\scode\sleaks\s164\sbytes:\s24\sfor\sthe\sobject,\s128\sfor\sits\ninternal\srep\sas\sa\sbytecode,\s12\sfor\sthe\shandle\sto\sthe\ninterpreter\s(it\swould\sbe\sfreed\sby\sCleanupByteCode\swhen\sthe\nobject\sis\sfreed).\n\nOne\spossible\ssolution\sI\sam\sexploring\sis\sto\sbe\smore\scareful\nabout\ssharing\sliterals.\sThe\ssolution\sto\sthis\sbug\salong\sthis\npath\scould\sconceivably\salso\sfix\s[Bug\s458361]\sin\sa\sroundabout\nway.\n\n\n
J login msofer
J mimetype text/plain
J subsystem 47.\sBytecode\sCompiler
J username msofer
K 467523ffffffffffffffffffffffffffffffffff
U msofer
Z 5e41b661729d261d3495d97e55f0c96c