Servlets Servlet线程池
当servlet重新使用线程池中的线程时,它们所持有的所有引用返回到线程池后会发生什么情况?它们是否以某种方式设置为空?有什么想法吗?除了servlet容器本身设置的引用和您自己的代码可能存储在ThreadLocal变量中的引用之外,线程不包含任何引用 并且这些值没有设置为nullServlets Servlet线程池,servlets,threadpool,Servlets,Threadpool,当servlet重新使用线程池中的线程时,它们所持有的所有引用返回到线程池后会发生什么情况?它们是否以某种方式设置为空?有什么想法吗?除了servlet容器本身设置的引用和您自己的代码可能存储在ThreadLocal变量中的引用之外,线程不包含任何引用 并且这些值没有设置为null