[1976] in java-interest
Re: GC and Class management
daemon@ATHENA.MIT.EDU (Chuck McManis)
Wed Sep 20 18:59:21 1995
Date: Wed, 20 Sep 1995 13:12:56 -0700
From: cmcmanis@scndprsn.Eng.Sun.COM (Chuck McManis)
To: java-interest@java.Eng.Sun.COM, Steve_Yen.LOTUS@crd.lotus.com
>I know java does garbage collection on instances of Object,
>but does java do garbage collection on instances of Class?
Unfortunately this is made difficult by the fact that the ClassLoader
usually is holding a pointer to the class and so the garbage collector
never collects it. There is a facility called "Refs" that can address
this (basically it is a pointer of convienience that can be collected
if necessary) but we've not implemented it.
--Chuck
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com