Synchronized method or synchronized block?
同步方法或同步代码块?
This issue was addressed by tightening the scope of some synchronized method calls.
这种问题是从缩小同步化访问调用的范围来处理的。
For example, suppose an object provides a synchronized method that often takes a long time to return.
比如,假如有一个同步方法通常需要很长时间才返回。
应用推荐