7a0de6af3a
* Fixes #55498 ServletHolder cleanup Various cleanups for #5498 including: + renaming multiple `_servlet` fields in inner classes to avoid confusion + better comments in prepare method to describe why it is needed + call prepare from Invoker servlet + The `_servlet` field is not set until after the servlet is initialized + Consistent wrapping of `SingleThreadedWrapper` now in `initServlet` + The `getServlet` method now looks the volatile `_servlet` to avoid locking if possible + The `handle` method now calls `getServletInstance` as servlet will have been initialized in `prepare` + Found and fixed race with making unavaiable servlet available again + fixed nanotime overflow + fixed several compiler warnings/suggestions + removed while true from unavailable servlet + Do not destroy servlets unless init has been called. + Added TODOs about calling predestroy on instances not created by the holder. + Do not destroy servlets unless init has been called. + Added TODOs about calling predestroy on instances not created by the holder. + improved dump and toString |
||
---|---|---|
.. | ||
src | ||
pom.xml |