[Prev][Next][Index][Thread]

Re: Need help with Class-Allocated Slots



Hugh Greene q@tardis.ed.ac.uk on  2000-06-28 12:15 wrote:

>> ...  And the class itself can't be GC'ed until you can
>> prove that nobody will ever call 'make' on the class again.
> 
> Classes created with "make(<class>, ...)" might become unreachable at some
> point and hence get GCd.  Not common practice, but possible.

I seem to recall Java had a bug where they unloaded a package if there were
no instances of its class on the assumption there was no state in the class
and any attempt to make a new instance could simply reload the package, but
class slots clearly are state.



References: