ITeye博客

Threadlocal

共 1 篇文章

Threadlocals and memory leaks in J2EE

Threadlocals are used in J2EE application servers to keep track of transaction context and security context. I was thinking of using it to pass execution context (which involves some user login and other context information) around in web application which involves servlets and other server side cl…

2020-03-03 01:10 · 读书笔记 · 线程 · Threadlocal