...且所这些引用都不能“逸出”到这个空间以外地方那么HotSpot会要求JIT进行一系列运行时优化其中一种优化就锁省略(lock elision)如果锁引用限制局部空间中说明只创建这个锁线程才会访问该锁这种条件下同步块中值永远不会存竞争这意味这我们永远不可能真需要这...
基于20个网页-相关网页
This optimization is called lock elision and is another of the JVM optimizations slated for Mustang.
这个优化叫做锁省略,是为Mustang安排的另一个JVM优化。
I was hoping that escape analysis combined with lock elision would have a much greater influence than it did.
我也希望逸出分析与锁省略一起更能够做到更好,产生更多的影响。
In addition to escape analysis and lock elision, Mustang has some other optimizations for locking performance as well.
除了Escape分析和锁省略,Mustang还有一些锁定性能方面的优化。
应用推荐