All~ Could you write your own class loader that uses PhatomReferences to allow Classes to be GCed?
Matt On 10/3/07, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > > Attila Szegedi wrote: > > Not referenced as in, unreachable? You use java.lang.ref.PhantomReference > > for that. > > As in using Weak or Soft references to hold the classes; If some type of > classloader had some kind of weak reference to the classes it contains, > it would allow spinning up just the class rather than an entire > garbage-collectable classloader to contain it (as is the case right now > in JRuby). > > - 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 -~----------~----~----~----~------~----~------~--~---
