On Friday, November 22, 2002, at 05:19  PM, Timothy Stack wrote:


hi,

So, i stumbled across an odd little bug and was looking for someone else
to confirm my suspicions. The problem has to do with class gc and static
methods. Basically, i'm thinking that a class could be garbage collected
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 class
on the stack while the thread is executing a static method. Perhaps I'm
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.

thanks,

tim stack
tim


_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to