ThreadContext should use SoftReference instead of WeakReference ---------------------------------------------------------------
Key: JRUBY-2261 URL: http://jira.codehaus.org/browse/JRUBY-2261 Project: JRuby Issue Type: Bug Reporter: Ola Bini Assignee: Thomas E Enebo Based on current discussions on #jruby, it seems that application servers have a tendency to eagerly reap weak references. Since ThreadContext is weak, this could be potentially extremely expensive meaning creating new ThreadContext and adopting new threads at every request. Recent problems with memory leaks from threads seems to support this even for a simpler web server like Jetty. The solution is use to SoftReference instead of WeakReference. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email