“When a field is declared volatile, the compiler and runtime are put on notice that this variable is shared and that operations on it should not be reordered with other memory operations. Volatile variables are not cached in registers or in caches where they are hidden from other processors, so a read of a volatile variable always returns the most recent write by any thread.”
Quote by Brian Goetz
Work
Java Concurrency in Practice
Browse quotes and source details for this work. more
Author
You May Also Like
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
Source: Java Concurrency in Practice
“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