synchronized methods(){} 与synchronized(this){}之间没有什么区别,只是 synchronized methods(){} 便于阅读理解,而synchronized(this){}能够更精确的控制冲突限制访问区域,有时候表现更高效率。this