[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Garbage collector
From: |
strk |
Subject: |
Re: [Gnash-dev] Garbage collector |
Date: |
Fri, 15 Jun 2007 20:23:33 +0200 |
On Fri, Jun 15, 2007 at 05:52:14PM +0200, Udo Giacomozzi wrote:
> Hello strk,
>
> Friday, June 15, 2007, 5:14:51 PM, you wrote:
> s> First of all, the current implementation allows a compile-time selection
> s> between the old ref-counted model (RC) and the new garbage-collected model
> (GC).
> s> The default is the RC one, as the GC one is still bogus.
>
>
> Sorry for this question, but what is the problem with the RC model?
> Can you show me some code that creates an "unreachable" object?
First case:
frame1: function f() {}
frame2: <empty>
Second case (easier to understand):
a = new object; b = new object;
a.p = b; b.p = a;
delete a; delete b;
// Both 'a' and 'b' are lost with a refcount of 1
--strk;
- Re: [Gnash-dev] Garbage collector, (continued)
- Re: [Gnash-dev] Garbage collector, Udo Giacomozzi, 2007/06/15
- Re: [Gnash-dev] Garbage collector, Eric Hughes, 2007/06/15
- Re: [Gnash-dev] Garbage collector, strk, 2007/06/15
- Re: [Gnash-dev] Garbage collector, Eric Hughes, 2007/06/15
- Re: [Gnash-dev] Garbage collector, strk, 2007/06/15
- Re: [Gnash-dev] Garbage collector, strk, 2007/06/15
- Re: [Gnash-dev] Garbage collector, Eric Hughes, 2007/06/15
- Re: [Gnash-dev] Garbage collector, strk, 2007/06/15
- Re: [Gnash-dev] Garbage collector, Eric Hughes, 2007/06/15
- Re: [Gnash-dev] Garbage collector, strk, 2007/06/16
Re: [Gnash-dev] Garbage collector,
strk <=