“Accessing shared, mutable data requires using synchronization; one way to avoid this requirement is to not share. If data is only accessed from a single thread, no synchronization is needed. This technique, thread confinement, is one of the simplest ways to achieve thread safety. When an object is confined to a thread, such usage is automatically thread-safe even if the confined object itself is not.”
Quote by Brian Goetz
Work
Java Concurrency in Practice
Browse quotes and source details for this work. more
Author
You May Also Like
“I built your ego, then shattered it when you revealed your true self.”
Source: Slammed
Source: From Mother to Daughter: Advice and Lessons for a Good Life
Source: One Minute to Midnight
Source: Sharon Tate Campaign Plan MMXX
Source: Celestial Banquet
Source: Celestial Banquet
Source: Miss Fitz Discovers Midlife Magic