double-checked
常考释义
What I am now going to tell you is very important and of course I have checked and double-checked everything before telling you.
我所要告诉你的非常重要,我当然已经从头到尾一遍又一遍检查过了。
In the remainder of this article, we'll examine the double-checked locking idiom in detail to understand just where it breaks down.
在本文余下的部分里,我们将详细介绍双重检查锁定习语,从而理解它在何处失效。
So he drove back to his apartment, double-checked his bank balance on his computer and headed back with his checkbook.
于是,他回到他的公寓中,双击选中他的银行存款余额,并拿着支票簿返回。
When the relevant document of each stage is submitted and double-checked, the work of the stage shall be deemed as being formally started.
当每阶段的相应文件已提供并复核后该阶段工作可视为正式开始。
In an effort to avoid costly synchronization in singletons, programmers, quite ingeniously, invented the double-checked locking idiom.
为避免单例中代价高昂的同步,程序员非常聪明地发明了双重检查锁定习语。
Any positive results need to be double checked and replicated, preferably using a different detector (one reason why the LHC has several).
任何肯定的结果还需要进行双重检查和复制,最好使用不同的检测器(一个原因就是为什么大型强子对撞器有几个探测器)。
The fact that JIT compilers do just this makes the issues of double-checked locking more than simply an academic exercise.
JIT编译器的这一行为使双重检查锁定的问题只不过是一次学术实践而已。
The issue of the failure of double-checked locking is not due to implementation bugs in JVMs but to the current Java platform memory model.
双重检查锁定失败的问题并不归咎于JVM中的实现bug,而是归咎于Java平台内存模型。
"26, " Eddie replayed, After he lift , he double-checked it on his calculator and realized he would not get the job.
埃迪答道:“26。”他走后又在计算机上验算一遍,意识到自己已经丢掉了这份工作。
In an effort to make this method more efficient, an idiom called double-checked locking was created.
为使此方法更为有效,一个被称为双重检查锁定的习语就应运而生了。
" we were astonished, " recalls Wannier, who double-checked the results just to be sure.
“我们感到很惊讶,”瓦尼尔回忆道,她反复检查结果确保万无一失。
However, due to some little-known details of the Java memory model, this double-checked locking idiom is not guaranteed to work.
然而,由于一些不太常见的Java内存模型细节的原因,并不能保证这个双重检查锁定习语有效。
Thus, the name "double-checked locking. "
这就是“双重检查锁定”名称的由来。
ALL backlinks must be DO FOLLOW. . . ALL will be checked and double checked months later.
所有的反向链接,必须做好后续…所有这些都将进行检查和双个月后检查。
These facts make a code failure due to double-checked locking very difficult to track down.
这些事实将导致代码失败,原因是双重检查锁定难于跟踪。
All the appointments should be double-checked for accuracy.
应该为准确性仔细检查所有任命。
However, the constructor for this object has not run yet, which is precisely the situation that breaks double-checked locking.
然而,此对象的构造函数尚未运行,这恰是破坏双重检查锁定的情况。
He double-checked and saw a blue mould in the dish around which the bacteria had been destroyed.
他仔细检查了一下,发现盘子里有青色的霉斑,其周围的细菌都被消灭了。
ALL backlinks must be DO FOLLOW. . . ALL will be checked and double checked.
所有的反向链接,必须确实遵守……都将被检查和双重检查。
If this code is interrupted by another thread after executing line C3 but before completing the constructor, double-checked locking fails.
如果此代码在执行C3行后且在完成该构造函数前被另一个线程中断,则双重检查锁定就会失败。
以上图片仅供学习交流使用,版权归原作者所有,如有侵权,请与我方联系