...
A field may be declared volatile, in which case the Java memory model (§17§17) ensures that all threads see a consistent value for the variable.
...
...
A field may be declared volatile, in which case the Java memory model (§17§17) ensures that all threads see a consistent value for the variable.
...