volatile and happens-before: visibility without atomicity
In one line: volatile gives each read the latest write and a happens-before edge, but no atomicity: v++ on a volatile field still loses updates.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.