Safe construction techniques
- http://www-128.ibm.com/developerworks/library/j-jtp0618.html
- Concurrent programming in Java applications is more complicated than it looks: there are several subtle (and not so subtle) ways to create data races and other concurrency hazards in Java programs. In this article, Brian Goetz looks at a common threading hazard: allowing the this reference to escape during construction.