资料来源 http://www.ibm.com/developerworks/library/j-jtp0618/ http://www.javaspecialists.eu/archive/Issue192.html http://stackoverflow.com/questions/1621435/not-thread-safe-object-publishing 对象构造函数要做到线程安全 竞态条件 首先看看竞态条件的定义: data race, or race condition, o