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.

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

References

Wiki Markup
\[[JLS 05|AA. Java References#JLS 05]\]

...

CON02-J. Facilitate thread reuse by using Thread Pools            11. Concurrency (CON)            CON30-J. Synchronize access to shared mutable variables