...
Wiki Markup |
---|
According to Joshua Bloch \[[Bloch 2008|AA. Bibliography#BlochReferences#Bloch 08]\] |
If a method modifies a static field, you must synchronize access to this field, even if the method is typically used only by a single thread. It is not possible for clients to perform external synchronization on such a method because there can be no guarantee that unrelated clients will do likewise.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fcbda9cba81fd53b-dbb88243-4e8847c4-b31ea9b5-abd7ee9d3361edb9f9d0aa51"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API References#API 06]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="19e5329e5d402503-2605ca9f-40034f2b-bb78b573-0139db357fa88f0f4e0c1666"><ac:plain-text-body><![CDATA[ | [[Bloch 2008 | AA. Bibliography#Bloch References#Bloch 08]] | Item 67. Avoid excessive synchronization | ]]></ac:plain-text-body></ac:structured-macro> |
...