Unknown <[EMAIL PROTECTED]> wrote:

> You could adapt Java's last-generation GC scheme to do a really fast GC
> on scope-exit, only of objects created within that scope. However, this
> may require a relocating or treadmill GC to do efficiently.

Yeah. That's what I'm currently working on:

$ l src/gc_gms.c
-rw-r--r--   1 lt       users        9188 Jän 15 10:07 src/gc_gms.c

Keywords:

 - non-copying, mark & sweep
 - generational
 - implicit reclamation, treadmill

> seem to remember a zone-based GC strategy which allocated 'zones' to
> frames and GC'd by zone

Yes. In the presence of PMCs with timely destruction, each lexical scope
will be one GC generation.

leo

Reply via email to