|
||||||||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||||||||
_______________________________________________ Amdatu-developers mailing list [email protected] http://lists.amdatu.org/mailman/listinfo/amdatu-developers


AbstractHandler
There are race conditions in this code which were not fixed by simply making m_state volatile (stated as a solution here incorrectly).
The fact that this code is asymmetric is bad.
The contract for init() and destroy() is unclear:
This obviously has to be aligned with the Servlet contract.
ServletHandlerRegistry
Creates lots of threads that asynchronously invoke life cycle methods in httpContextAdded, …Removed, addServletHandler, remove… which causes all kinds of interesting race conditions. I propose we remove all such threads and simply invoke the methods outside of the locked section
removeServletHandler even invokes destroy() on servletHandler both synchronously and asynchronously. Why?
addServletHandler, this does not work: