On Fri, Jun 15, 2007 at 09:57:22AM -0600, Eric Hughes wrote:
> At 09:52 AM 6/15/2007, Udo Giacomozzi wrote:
> >Sorry for this question, but what is the problem with the RC model?
> >Can you show me some code that creates an "unreachable" object?
> 
> I can't off the top of my head, but this is a generic problem with 
> languages that have the possibility of creating circular references.  A 
> disconnected reference cycle won't be freed in the RC model, but will 
> generally be found in a GC model.  The relevant code would be some SWF 
> whose execution creates objects in a reference cycle.  Put that code in a 
> loop and you have eventual memory exhaustion with RC, but not with GC.

Exactly. Not that Function.prototype.constructor == Function, so it does
not even take user intervention for creating circular dependencies.
It's builtin  for ActionScript.

--strk;


_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to