How does it support deterministic finalization?
它是如何实现确定性终结的。
In virtually every transaction, there is a lag time between the finalization of the deal and the completed cash collection.
实际上在每笔交易中,交易结束和完成回款之间都有时间差。
Contention for these locks from other threads, and also locks to be acquired during finalization, might occur and can result in deadlock.
其他线程可能会争用这些锁和在终结期间将获取的锁,进而导致死锁。
In a real application, however, you'll probably want to do some initialization before running the script and some finalization after the script's execution.
不过,在实际的应用程序中,可能需要在运行脚本之前进行初始化并在脚本执行完后进行最后的清理工作。
Not only is it difficult to code them correctly, but the timing of finalization is not deterministic, and there is no guarantee that finalizers will ever even run.
终结器不仅难以编写正确,终结的定时也是不确定的,并且不能保证终结器最终会运行。
The book can finally be published after revision and finalization.
经过删定,这本书终于可以出版了。
Ensures that all finalization code in derived classes is marked as critical.
确保派生类中的所有终止代码均标记为关键。
Use long weak references only when necessary as the state of the object is unpredictable after finalization.
仅在必要时使用长弱引用,因为在终止后对象的状态是不可预知的。
The finalization of the individual gender role is a cultural norm, which is an expression of both the national psychology and socialization.
个体性别角色定型是一种文化上的规定性。它既是民族心理的重要表征,又是民族社会化的重要体现。
The ability of a finalizer to revive an object destined for garbage collection is clearly an unintended consequence of the way that the finalization mechanism works.
终结器恢复即将被垃圾收集的能力无疑是终结机制工作方式的一种意外后果。
When using an object pool, the allocation, initialization, collection, and finalization only occur once, reducing both the memory usage and the processing time that is required.
在使用对象池时,分配、初始化、回收和终结只发生一次,从而减少了内存使用和所需的处理时间。
A large number of domestic and international projects about 30 years proves that the finalization design of three-way guyed mast with the revised theory is safe and correct.
纠正后的三方纤绳桅杆定型设计,经过近30年的国内外大量工程实践,证明是安全、正确的。
While executing in your finalization method during domain unloading, you might want to access another object that is referenced by a static field and has a finalization method.
在域卸载过程中执行终止方法时,您可能需要访问另一个由静态字段引用并且有终止方法的对象。
Finalization must be propagated through the inheritance hierarchy.
终止必须通过继承层次结构传播。
Finalization must be propagated through the inheritance hierarchy.
终止必须通过继承层次结构传播。
应用推荐