avoid sub-classing ThreadLocal since it will leak in envs such as .wars#1772
avoid sub-classing ThreadLocal since it will leak in envs such as .wars#1772enebo merged 1 commit intojruby:jruby-1_7from
Conversation
…rbled) .war apps due JRuby classes being loaded from the (WEB-INF/lib) application loader ... prevents such applications from correctly releasing class memory (e.g. on re-deploys)
avoid sub-classing ThreadLocal since it will leak in envs such as .wars
|
In the future could you not auto-whitespace fix your PRs? It made seeing the diff more difficult (and I did not want to fetch to see -iw output). |
|
thanks @enebo sure will try to not forget - although my editor is setup that way ;( ... as I was messing up |
|
Awesome... w=1 will make me never complain about this again :) On Wed, Jul 9, 2014 at 12:20 PM, Karol Bucek notifications@github.com
blog: http://blog.enebo.com twitter: tom_enebo |
|
Assuming I remember it. On Wed, Jul 9, 2014 at 12:34 PM, Thomas E Enebo tom.enebo@gmail.com wrote:
blog: http://blog.enebo.com twitter: tom_enebo |
e.g. on Tomcat a Warbled up with this change (tested 1.7.13) allows to avoid the following warning(s) :
related issue at jruby/joni#11