Safe construction techniques
-106.ibm.comConcurrent 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.