Weekly todo activity, Aug 15 to Aug 22
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
Weekly todo activity, Aug 15 to Aug 22
New bug #549: Components with methods/subcomponents are never freed due to circular reference
There is a circular reference between components and their
methods/subcomponents, via the 'owner' slot in
Component/SubComponent.pm. Thus, any component with a
<%method> or <%def> tag will never truly be freed even if it
is purged from the code cache.
Will have the most impact on sites where components enter
and exit the code cache often.
Simplest fix is to weaken the 'owner' reference. This will
mean that if you grab the object for a subcomponent or
method (e.g. via $m->fetch_comp()), it will become invalid
if and when its owner component is freed. I expect this is a
pretty rare thing to do, but it should be documented.
Fri Aug 20 Jonathan Swartz created bug
Jonathan Swartz set version_found to 1.10
Jonathan Swartz set severity to Normal
Jonathan Swartz set version_goal to 1.27
Jonathan Swartz set owner to jswartz
Jonathan Swartz set version_patched to 1.26
Jonathan Swartz changed status from Start to Checked In
http://www.masonhq.com/docs/todo/access.html?id=549
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285