Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: qualifying with volatile is illegal; but I changed it to final

...

Wiki Markup
\[[Goetz 04|AA. Java References#Goetz 04]\] Brian Goetz. Java theory and practice: Going atomic. November 2004. http://www.ibm.com/developerworks/java/library/j-jtp11234/ 

...

CON06CON07-J. Ensure atomicity of thread-safe code      11. Concurrency (CON)      CON03-J. Do not use background threads during class initialization