From: Godmar Back (gback@cs.utah.edu)
Date: Fri Dec 18 1998 - 18:04:55 EST
>
> (BTW: thinking about that it: doesn't that already break the current class
> gc scheme right there?
> What if a class gets freed, but other classes that are still alive hold
> pointers to its methods in their dispatchtable ---
> Walking the dispatchtable of the class that's still alive conservatively
> will not help us with this problem.)
>
Basically, the class must keep alive all those classes from which
it installed Method* in its dispatchtable.
Looking at the code, this is only Methods from its superclasses.
However, walkClass walks it superclass --- so it looks like we're safe
after all.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:23 EDT