Hacker News new | ask | show | jobs
by barfoomoo 5699 days ago
Reference field update operations in Java are not thread safe?
1 comments

reference updates are atomic, but without volatile (or more heavyweight synchronization) there may be an arbitrary delay before the change is visible to other threads.
Thanks for that.