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