Why put the value in Entry instead of ThreadLocal?

后端 未结 0 1031
渐次进展
渐次进展 2021-02-01 09:39

Why the value is put in Entry instead of ThreadLocal? If java puts the value in ThreadLocal,the value will be recycled by gc whiling it working. Any one can help me? Thanks in a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题