Quotes About ThreadLocal
Because of its fragility, ad-hoc thread confinement should be used sparingly; if possible, use one of the stronger forms of thread confinment (stack confinement or ThreadLocal) instead. 3.3.2.
~ Brian Goetz
BazillionQuotes.com
you can think of a ThreadLocal as holding a Map that stores the thread-specific values, though this is not how it is actually implemented. The thread-specific values are stored in the Thread object itself; when the thread terminates, the thread-specific values can be garbage collected. If
~ Brian Goetz
BazillionQuotes.com
