why not all be WeakReference for java.lang.ThreadLocal.ThreadLocalMap.Entry?

后端 未结 0 1937
后悔当初
后悔当初 2021-02-20 17:52

if all is WeakReference, then threadLocl not think about expungeStaleEntry so i want to know why?

// my think code
static class WeakEntry extends WeakReference<         


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