Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: iterated => operated upon

...

Compound operations on shared variables are also non-atomic. For more information, see CON02 VNA02-J. Ensure that compound operations on shared variables are atomic.

CON04-J. Ensure that calls to chained methods are atomic describes a specialized case of this guideline.

...

Wiki Markup
\[[API 06|AA. Java References#API 06]\] 
\[[JavaThreads 04|AA. Java References#JavaThreads 04]\] Section 8.2, "Synchronization and Collection Classes"
\[[Goetz 06|AA. Java References#Goetz 06]\] Section 4.4.1, "Client-side Locking," Section 5.2.1, "ConcurrentHashMap"
\[[Lee 09|AA. Java References#Lee 09]\] "Map & Compound Operation"

...

CON02-J. Ensure that compound operations on shared variables are atomicImage Added      11. Concurrency (CON)      CON04-J. Ensure that calls to chained methods are atomic