On 07/29/2014 10:05 AM, Jaroslav Tulach wrote:
Plus, because there is a single classloader which loads all the classes from a
WAR, by keeping the activerReferenceQueue thread alive and holding reference
to the queue, we hold reference to its class and the classloader and thus all
classes referenced by it.

And this memory leak accumulates with every re-deploy.

Could you interrupt the thread when URLClassLoader#close() is called?

--
Florian Weimer / Red Hat Product Security

Reply via email to