synchronized methods
常见例句
- Do not include synchronized methods into a loop structure.
不要将同步方法放到循环结构中。 - A variation on this theme is to combine multiple synchronized methods into one.
该方法还有一种变体,可以把多个同步方法合并为一个方法。 - If the problem remains a mystery after analyzing the PMI data, a set of thread dumps of the JVM often pinpoints synchronized methods and other common problems.
如果在评测 PMI 数据以后,仍然没有找到问题所在, JVM 的一些线程堆经常能定位同步方法和其他常见问题。 返回 synchronized methods