ThreadLocal explained
Today we are going to look into the ThreadLocal internals, its usage and all the related pitfalls. ThreadLocal, among other Java advanced features like volatile variables or nested classes, is rarely used. The main reason is its relative complexity and…
Read more