Matt Fowles wrote:
> All~
> 
> Could you write your own class loader that uses PhatomReferences to
> allow Classes to be GCed?

Some classloader, somewhere in the classloader hierarchy, eventually has 
to define what Java considers a "class". There's no way to write a 
classloader that, for example, does the definition of class data in 
memory all by itself. And this is where the class leak 
happens..."somewhere in there" there's a hast list of classes in what 
the JVM sees as a classloader, and never shall the twain be parted.

- Charlie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to