Oh my god Scott, you rule it! /** * Returns the current environment container. */ public static InjectManager getCurrent(ClassLoader loader) { return _localContainer.get(loader); }
finally the synchronized (_localContainer) was gone! You have no idea how I suffered from the locking problem of previous Resin 4.0.x. My heavy traffic website hanged several times a day. Thanks a lot! I'll try 4.0.9 immediately. -Wesley 2010/7/31 Scott Ferguson <f...@caucho.com> > Just an important note on Resin 4.0.9. > > Most of the work for this release was related to low level improvements > and fixes to core capabilities like the locking for distributed caching, > replacing synchronization with atomic locks in the core thread > dispatching, improving the core alarm/timer functionality, fixing the > watchdog/cluster authentication, and organizing the core Resin startup > code to fix some startup timing problems. > > We added extra tests for those capabilities, and added several automatic > stress tests to our nightly check. > > Still, since these are core fixes to critical timing-related > capabilities that are hard to test exhaustively, you may want to take > extra care in your own testing before deploying on 4.0.9. > > -- Scott > > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest >
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest