Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor

...

Furthermore, declaring a variable as volatile or correctly synchronizing the code guarantee guarantees that 64-bit primitive variables of type long and double will always be accessed atomically (see CON25-J. Ensure atomicity when reading and writing 64-bit values for information on sharing long and double variables among multiple threads).

...

Failing to ensure visibility of shared primitive variables on accesses can lead to a thread seeing stale values of the variablevariables.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

CON00- J

medium

probable

medium

P8

L2

...