What about the fact that we can hook servlet shutdown? Would it be
possible for FinalizableReferenceQueue's thread to shut down cleanly if
asked?
BTW: What's the point of FinalizableReferenceQueue anyway? It's not
like you're doing some sort of disposal once the Reference gets queued.
Why use a ReferenceQueue at all?
Gili
Bob Lee wrote:
> On Tue, Oct 28, 2008 at 5:16 PM, Gili Tzabari <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Are you saying the code needs more cleanup before it's ready
> for commit
> or are you saying something else?
>
>
> I'm saying that I don't think the solution is viable. This needs to be
> fixed in the VM instead. The workaround is just too nasty for my taste,
> and I'd just assume ask users to put Guice in their system class path
> instead.
>
>
> Wouldn't that make things worse? We want to ensure that all
> webapp-specific proxies get unloaded when the webapp gets unloaded.
>
>
> cglib loads the proxies in the same class loader as the proxied class,
> so the proxies would indeed get unloaded along with the web app.
>
> Bob
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" 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/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---