tomcat thread-safety issues

Tomcat When a request is received, it will take a thread from the thread pool to handle this thread will find the corresponding servlet request during the treatment, the servlet in a single vessel embodiment, at this time if simultaneous multiple requests servlet request Some members of variables, it will produce thread-safety issues

Guess you like

Origin www.cnblogs.com/mwss/p/12630657.html