[concurrency-interest] Final field set null on threadtermination
davidcholmes at aapt.net.au
Sat Oct 2 05:16:43 EDT 2010
Tim Eck writes:
> > The application is a webapp deployed in tomcat. Whenever the context is
> > reloaded all the logging threads are shutdown.
> I wonder if tomcat's reference clearing stuff is the cause of this?
> se would be a quick test to see if it stops the NullPointerException.
Wow! That's nasty. You don't want to do that without also fully
understanding the thread lifecycles involved. Ouch! I can understand the
need to workaround past GC/retention issues, but I would have thought that
defaulting to false would have been much more prudent.
> For source minded:
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
More information about the Concurrency-interest