RE: JavaMemoryModel: When can a classloader be unloaded

From: David Holmes (
Date: Wed May 19 2004 - 19:07:18 EDT

> But we couldn't absolutely convince ourselves that running a static
> method of a class ensures the class is reachable.

Is this any different to the case where an instance may no longer be
reachable when a thread is executing an instance method?

I don't think you'll find a language semantic that clarifies this, and if
you do it ultimately comes down to what the VM does in practice - as with
the instance case.

David Holmes

JavaMemoryModel mailing list -

This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:01:07 EDT