(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“If you are porting a single-threaded application to a multithreaded environment, you can preserve thread safety by converting shared global variables into ThreadLocals, if the semantics of the shared globals permits this; an applicationwide cache would not be as useful if it were turned into a number of thread-local caches. ThreadLocal is widely used in implementing application frameworks. For example, J2EE containers associate a transaction context with an executing thread for the duration of an EJB call. This is easily implemented using a static Thread-Local holding the transaction context: when”

Brian Goetz, Java Concurrency in Practice
Read more quotes from Brian Goetz


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Java Concurrency in Practice Java Concurrency in Practice by Brian Goetz
2,896 ratings, average rating, 138 reviews
Open Preview

Browse By Tag