Necessary of refTable in GC

Frank Mehnert Frank.Mehnert at mchp.siemens.de
Mon Mar 24 03:18:19 PST 1997


Hi Kaffe hackers,

while looking at the GC I thought: For what we need the refTable?
I think the only one think is to check if one given object is valid:
Take the ref field of the object as an index to refTable (GETREF). If 
the indexed entry points to the object, this object is valid. Why we
don't let point the ref field to the start of object or set it to a magic
number? We could save the refTable...

Frank

Frank Mehnert
email: Frank.Mehnert at mchp.siemens.de



More information about the kaffe mailing list