ThreadLocal的实现原理调用者:/*** Get the map associated with a ThreadLocal. Overridden in* Inherita
ThreadLocal的实现原理
调用者:
/** * Get the map associated with a ThreadLocal. Overridden in * InheritableThreadLocal. * * @param t the current thread * @return the map */ ThreadLocalMap getMap(Thread t) { return t.threadLocals; }