2010/10/28 Leon Rosenberg <[email protected]>:
> Hello Konstantin,
>
> On Wed, Oct 27, 2010 at 11:53 PM, Konstantin Kolinko
> <[email protected]> wrote:
>> 2010/10/28 Leon Rosenberg <[email protected]>:
>>>
>>> Well, that would just move the problem from stopping Timer to calling
>>> shutdown on  Executor, wouldn't it?
>>>
>>
>> The problem is with the Thread.getContextClassLoader() for your
>> thread.  It contains a reference to the webapp classloader, and thus
>> does not allow to GC it.
>
> But I can't detect any obvious Thread.getContextClassLoader() calls in
> the code below:
>
> public class BuiltInMemoryPoolProducer implements IStatsProducer{
>(skipped the code, have not read it)
>

If you mean setContextClassLoader(..), that happens in
java.lang.Thread constructor, or more specifically in some private
helper method called there (Thread.init()).

The Thread is created by the Timer.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to