marking classes in walkObject

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Fri Dec 18 1998 - 10:16:00 EST


 Alexandre, given that objects can outlive the loaders of the class to
which they belong, how can you avoid marking the class when you walk the
object? An object may hold the last reference to a class that keeps it
alive.
        
        - Godmar

>
>
> kaffe/kaffe/kaffevm/mem gc-incremental.c
> Thu Dec 17 21:40:43 PST 1998
> Update of /home/cvspublic/kaffe/kaffe/kaffevm/mem
> In directory www.transvirtual.com:/tmp/cvs-serv15471/kaffe/kaffevm/mem
>
> Modified Files:
> gc-incremental.c
> Log Message:
> * kaffe/kaffevm/mem/gc-incremental.c (walkPrimArray): defined to
> walkNull
> (gcFunctions): unify it into a single list; use finalizeClass for
> interfaces too; use walkPrimArray (i.e., walkNull) for arrays of
> primitive types
> (MARK_OBJECT): new macro to ease calling markObjectDontCheck
> (walkObject, walkRefArray): don't bother to mark the class; the
> ClassLoader does already; call MARK_OBJECT where appropriate,
> except where it introduces crashes: race conditions?
>
>
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:21 EDT