Versions Compared

Key

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

...

Related Guidelines

MITRE CWE

CWE -ID 667, "Improper Locking"

 

CWE -ID 413, "Improper Resource Locking"

 

CWE -ID 567, "Unsynchronized Access to Shared Data in a Multithreaded Context"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3fb948b8d091647e-cd63f258-42a04e21-9f9f8cd1-533d254f389c95ccf1639a0f"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. Bibliography#Bloch 08]]

Item 66: Synchronize access to shared mutable data

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2e856e28bcb6e89b-75d07148-41eb4e53-b7228543-32663cfc310cf613ac7edb3e"><ac:plain-text-body><![CDATA[

[[Goetz 2006

AA. Bibliography#Goetz 06]]

3.4.2. "Example: Using Volatile to Publish Immutable Objects"

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b4a5cc091a79a970-0974d5d0-49e1421e-96d8bbaa-521afe5782937fc62bc95160"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. Bibliography#JLS 05]]

[Chapter 17, Threads and Locks

http://java.sun.com/docs/books/jls/third_edition/html/memory.html]]]></ac:plain-text-body></ac:structured-macro>

 

Section 17.4.5 Happens-Before Order

 

Section 17.4.3 Programs and Program Order

 

Section 17.4.8 Executions and Causality Requirements

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9eb09a5344e0d763-e586c5e5-47be450f-b36fb235-dd1a1a424ce90ed7327581cc"><ac:plain-text-body><![CDATA[

[[JPL 2006

AA. Bibliography#JPL 06]]

14.10.3. "The Happens-Before Relationship"

]]></ac:plain-text-body></ac:structured-macro>

...