bacek at bacek.com
Tue Sep 28 04:52:12 UTC 2010
On Tue, Sep 28, 2010 at 12:19 AM, Nick Wellnhofer <wellnhofer at aevum.de> wrote:
>> Yes, main purpose of using lists was to simplify GenGC implementation.
>> If we want to use your approach we have implement compacting to avoid
>> sweeping all memory after marking young generations.
> Can't we use an array that holds all the PMC pointers of the young
We can use same approach as Pool_Allocator - allocate 4k chunks and
store pointer to "next free cell". Using plain old C arrays will be
too slow because we need to remove items from middle of list.
More information about the parrot-dev