Versions Compared

Key

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

...

Wiki Markup
The first condition can be relaxed when you can be sure that only one thread will ever update the value of the variable \[[Goetz 2006|AA. Bibliography#GoetzReferences#Goetz 06]\]. However, code that relies on a single-thread confinement is error prone and difficult to maintain. This design approach is permitted under this rule but is discouraged.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="438d61fb88f2d8e6-06955590-4b7b4f72-bd7a9055-0499e381fd8265b700bf4304"><ac:plain-text-body><![CDATA[

[[Bloch 2008

AA. Bibliography#Bloch References#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="b09e0e3b5443a26e-8ee1d247-458e4235-994cb5f9-01840b6427ce813e781fe60c"><ac:plain-text-body><![CDATA[

[[Goetz 2006

AA. Bibliography#Goetz References#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="e7d5ad7af80ed1d7-30cb9582-427e46c0-98839df4-458c9a61a331dbd64340f0e1"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. Bibliography#JLS References#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>

 

§17.4.5, Happens-Before Order

 

§17.4.3, Programs and Program Order

 

§17.4.8, Executions and Causality Requirements

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="379cc4aafaad3e11-b8268254-4f004b3e-ad588f82-d455829bd8ca6c90e27354c8"><ac:plain-text-body><![CDATA[

[[JPL 2006

AA. Bibliography#JPL References#JPL 06]]

14.10.3, The Happens-Before Relationship

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

...