Read that the following code is an example of “unsafe construction” as it allows this reference to escape. I couldn’t quite get how ‘this’ escapes. I am pretty new to the java world. Can any one help me understand this. Answer The example you have posted in your question comes from “Java Concurrency In Practice” by Brian Goetz et al.