Brian Goetz Quotes

Locking can guarantee both visibility and atomicity; volatile variables can only guarantee visibility.

Locking can guarantee both visibility and atomicity; volatile variables can only guarantee visibility. (Brian Goetz)