图7显示posts类的修复版本并突出显示了更改的附带配置文件定义。
Figure 7 shows a fixed version of the Posts class and the accompanying profile definition with changes highlighted.
所以如果双重检查锁定的目标是提供比更直观的同步方式更好的性能,那么这个“修复的”版本也没有多大帮助。
So if the goal of double-checked locking is supposed to offer improved performance over a more straightforward synchronized approach, this "fixed" version doesn't help very much either.
如果修复仍然失败,尝试重装老版本。
If the repair still fails, try re-installing the old version.
应用推荐