geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: PR Merge?
Date Tue, 23 Aug 2016 15:58:22 GMT
2016-08-23 17:55 GMT+02:00 Clebert Suconic <clebert.suconic@gmail.com>:

> > Not always. Will be true until something else has a reference to the
> > classloader, like a provider Class for instance.
> > In other words it can just prevent the whole webapp to be garbage
> collected.
>
> A provider class Is not supposed to hold an explicit reference to the
> classLoader.
>

Just the fact to load a Class does, at least on some JVM (yes it hurts)


>
> That would be an implementation bug. If the provider is holding a
> classLoader reference it would prevent the GC on the WAR /
> redeployment no matter what.
>
> I can write a testcase preventing issues. I had written one for
> commons a few years ago.
>
>
>
> What is your other solution?
>
>
>
Either what was there (I know), eviction thread (I know too) or server
integration (I'm fine with that)


>
>
> What is your other solution?
>

Once again "registry" is ok again to start

Mime
View raw message