[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
vague gc idea
- To: <xtech>
- Subject: vague gc idea
- From: Eric Dean Tribble <tribble>
- Date: Tue, 3 Oct 89 02:44:04 PDT
Garbage collection without motion (software with no moving parts!)
makes moving an object between generations trivial. It will be
interesting to see if moving objects into younger generations makes
any sense. I can imagine moving an Object B to an earlier generation
if an Object A that points to it gets deallocated. This is based on
the assumption that B probably isn't shared. This is a contrived
example, of course.
In general, it will be much easier to separate promotion issues from
the scavenging of a given generation. Integer objects probably will
never need to be saved for very long, so they could stay in the
younger generations ('course they can reference count, which might be
simpler).
dean