... 他需要多睡会儿 he needs more sleep 〔美国〕睡觉时间。 spinning time 熬夜不睡觉 stay up / sit up ...
基于2个网页-相关网页
Spinning in night time 我们在夜晚旋转
On the other hand, if the lock is held for a longer time, spinning is wasteful as the spinning thread consumes CPU without doing anything useful.
另一方面,如果锁被占有很长时间,那么自旋的线程只会消耗CPU而不做任何有用的工作,因此带来浪费。
In thefinal scene it appears to be spinning smoothly for a long time, he probably gaveit a lot of power.
在最后场景中,它平滑地旋转了很长一段时间,他可能给它很大一股劲儿。
This presents a problem for JVM implementers: if locks are only held for a short time, then spinning is more efficient; if locks are held for a long time, then suspension is more efficient.
这向JVM实现人员提出了一个问题:如果锁只被持有很短的时间,那么旋转会更有效率;如果锁持有很长时间,那么暂挂会更有效率。
应用推荐