OK, my brain seems to be just waking up...  I was thinking of per-class
to reduce indirections at allocation time.  There's no need for
per-class data, only "one boolean per GC generation" in every class
loader.  The boolean is set when an instance (of a class loaded by this
class loader) is moved into the generation, and is unset when the
generation is collected.

As I said, I missed some of this thread's messages.  Maybe you already
came to a similar solution, maybe not.  I just remember seeing messages
about modifying the object header to help class unloading, which seemed
overly onerous to me.

Regards,

Etienne

Etienne Gagnon wrote:
> Wait a minute!  I missed something.  Actually, there is no need to track
> ...

-- 
Etienne M. Gagnon, Ph.D.            http://www.info2.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to