Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by sciSpider Java v3.0

...

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.

...