.
D 2011-08-12T01:51:06
J icomment Think\sI\sgot\sit:\n(1)\sIn\sTclByteCodeInit,\sthe\scomment:\n\n\n\s\s\s\s/*\n\s\s\s\s\s*\sPrevent\scircular\sreference\swhere\sthe\sbytecode\sintrep\sof\n\s\s\s\s\s*\sa\svalue\scontains\sa\sliteral\swhich\sis\sthat\ssame\svalue.\n\s\s\s\s\s*\sIf\sthis\sis\sallowed\sto\shappen,\srefcount\sdecrements\smay\snot\n\s\s\s\s\s*\sreach\szero,\sand\smemory\smay\sleak.\s\sBugs\s467523,\s3357771\n\s\s\s\s\s*/\n\nexplains\swhy\sa\sDup\sis\sdone\son\sthe\sobject\s(The\sEmpty\sString,\slet's\scall\sit\sx0,\sshared\s60\stimes).\n\n(2)\sAt\sthe\stime\sthis\sDup\sis\sdone\s(for\san\sobscure\scompilation\sof\san\sempty\sbody),\sthe\sobject\shas\sjust\sshimmered\sto\sa\sPath\s(because\sof\sfile\smkdir),\shence\sDupFsPathInternalRep\sis\scalled.\n\n(3)\sHowever,\sx0\ssatisfies:\sx0->intrep->translatedPathPtr\s==\sx0\n(4)\sSince\sDupFsPathInternalRep\scopies\sthe\stranslatedPathPtr,\sthe\sresult\sof\sthe\sDup\sis\san\sobject\sx1\ssuch\sthat\n\sx1->intrep->translatedPathPtr\s==\sx0\n\n(5)\sAs\sa\sconsequence,\sthe\svery\sthing\sthat\s(1)\swas\ssupposed\sto\savoid,\sa\sreference\sloop,\shappens:\sthe\sDup\shas\sbeen\stoo\slazy.\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3389764fffffffffffffffffffffffffffffffff
U ferrieux
Z 9e79dbb4f2d7b008ccf074383fa19ce4