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="8c84283243eed224-5985e900-41a740c4-a39b846c-9b700e35888a510cebe3db27"><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="7767b05ca4b9bf63-39efe91b-4b724fb7-8ce986e3-ee4e0edd34772ee59870db37"><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="e37dae328eb786db-cfe26488-49234be5-9f559e70-1596352f403a7876b03fe66a"><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="73a0e8e71cd34692-3469a6ac-4b1e4810-8242a665-ed5f88f32147ac7a52e8dfc3"><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>

...