André Pang <[EMAIL PROTECTED]> wrote:
> 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?

We have two kinds of managed items:
1) objects (PMCs, string headers, buffer headers)
2) variable-sized memory (string or buffer memory) These items always
   hang off from 1)

1) get recycled by a non-copying mark and possibly sweep collector
2) gets recycled by either the GC - the copying collector or by using
   system memory that gets freed with Configure --gc={malloc,libc}.

leo

Reply via email to