[kaffe] class gc and static methods
stack at cs.utah.edu
Fri Nov 22 17:06:48 PST 2002
On Friday, November 22, 2002, at 05:19 PM, Timothy Stack wrote:
> So, i stumbled across an odd little bug and was looking for someone
> to confirm my suspicions. The problem has to do with class gc and
> methods. Basically, i'm thinking that a class could be garbage
> while a thread is still executing a static method in that class. This
> could happen because, as far as i know, there is no reference to the
> on the stack while the thread is executing a static method. Perhaps
> missing something...
doh, I'll answer my own question. The class containing the call to the
method has a reference in its constant pool, duh! Or its reflection
and its already on the stack.
> tim stack
More information about the kaffe