Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Related Guidelines

MITRE CWE: CWE-667 "Insufficient Improper Locking"

MITRE CWE: CWE-413 "Insufficient Improper Resource Locking"

MITRE CWE: CWE-567 "Unsynchronized Access to Shared Data in a Multithreaded Context"

Bibliography

Wiki Markup
\[[Bloch 2008|AA. Bibliography#Bloch 08]\] Item 66: Synchronize access to shared mutable data
\[[Goetz 2006|AA. Bibliography#Goetz 06]\] 3.4.2. "Example: Using Volatile to Publish Immutable Objects"
\[[JLS 2005|AA. Bibliography#JLS 05]\] [Chapter 17, Threads and Locks|http://java.sun.com/docs/books/jls/third_edition/html/memory.html], Section 17.4.5 Happens-Before Order, Section 17.4.3 Programs and Program Order, Section 17.4.8 Executions and Causality Requirements
\[[JPL 2006|AA. Bibliography#JPL 06]\] 14.10.3. "The Happens-Before Relationship"

...