Lock coarsening的意思|示意

美 / / 英 / /

锁粗化


Lock coarsening的网络常见释义

锁粗化 锁粗化(Lock Coarsening): 也就是减少不必要的紧连在一起的unlock,lock操作,将多个连续的锁扩展成一个范围更大的锁。

Lock coarsening相关短语

1、 Lock coarsening explained 简析锁粗化

2、 Data Lock Coarsening 数据锁粗化

Lock coarsening相关例句

Another optimization that can be used to reduce the cost of locking is lock coarsening.

另一个可以用来降低锁定成本的优化是锁粗化(lock coarsening)。

Lock coarsening is the process of merging adjacent synchronized blocks that use the same lock object.

锁粗化就是把使用同一锁对象的相邻同步块合并的过程。

Lock coarsening occurs when adjacent synchronized blocks may be merged into one synchronized block.

当多个彼此靠近的同步块可以合并到一起,形成一个同步块的时候,就会进行锁粗化。

Even if there are other statements between the synchronized blocks or method calls, the compiler can still perform lock coarsening.

即使在synchronized块或方法调用之间有其他语句,编译器仍然能够执行锁粗化。

And depending on what other optimizations are enabled by the larger basic block, the duration for which the lock is held may not even be lengthened under coarsening.

而且根据更大的基本块支持其他何种优化,在粗化的情况下,持有锁的时间甚至可能不会延长。