In my last blog, we have explored WeakHashMap which is based by WeakReference in Java. Now let’s look at some best practices for using another powerful class: ThreadLocal from java.lang, which is also implemented using WeakReference. Read the full article here