develooper Front page | perl.perl6.internals | Postings from August 2004

Re: incremental garbage collection 1/2

Thread Previous | Thread Next
From:
Luke Palmer
Date:
August 20, 2004 22:53
Subject:
Re: incremental garbage collection 1/2
Message ID:
20040821055341.GA3914@babylonia.flatirons.org
André Pang writes:
> On 21/08/2004, at 5:48 AM, Leopold Toetsch wrote:
> 
> >3) The copying collector isn't integrated yet. But that should be easy.
> >After finishing sweep and if there is some possible wastage in the
> >memory pools, these get compacted.
> 
> I thought Parrot wasn't using copying collectors, since you're exposing 
> PMC addresses to C?

It does.  Headers don't get copied, but buffers do, which is a pretty
elegant way to make a copying collector since you can keep the headers
in fixed-size object pools.  You will get in trouble if you try to copy
a header into a buffer somewhere and use that.  But you deserve to get
in trouble for being naughty.

Luke

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About