• This prevents the finalizer from reclaiming other objects.

    这会阻止终结回收其他对象

    youdao

  • This means that no subclass of that class can declare a finalizer.

    意味着该类任何子类都无法声明终结器

    youdao

  • An empty finalizer incurs this added overhead without any benefit.

    终结器只会徒增这种系统开销没有一点好处

    youdao

  • If a destructor is present, rewrite that to be the class finalizer.

    如果存在构函数,则重写终结器。

    youdao

  • An empty finalizer (which negates the effect of the superclass finalizer).

    finalizer(抵消finalizer作用)。

    youdao

  • FindBugs detects a number of questionable finalizer constructs, such as.

    FindBugs检测很多有问题finalizer构造,如。

    youdao

  • This means that you should never do anything time-critical in a finalizer.

    意味着应该终结方法任何时间为关键的事情。

    youdao

  • You can create a finalizer for the class you're creating and declare it as final.

    可以创建创建一个终结器声明final

    youdao

  • There is no guarantee when a finalizer will be run, or even if it will be run at all.

    无法保证终结器何时运行或者甚至是否运行。

    youdao

  • This technique should be considered for every non final public class that has a finalizer.

    一个含有终结方法的终结公有应该考虑这个技术

    youdao

  • As a consequence, you should never depend on a finalizer to update critical persistent state.

    结论就是不该依赖终结方法更新重要持续状态

    youdao

  • The exploit is a variation of the well-known technique of using a finalizer for resurrecting an object.

    漏洞使用终结恢复对象著名技术一种变体

    youdao

  • Providing a finalizer for a class can, under rare conditions, arbitrarily delay reclamation of its instances.

    很少情况下一个提供终结方法可能会随意地延迟实例回收

    youdao

  • method throws an IOException, then the stream will not be closed (until the garbage collector runs its finalizer).

    但是如果 props.load()方法抛出一个IOException那么流则不会关闭直到垃圾收集器运行终结器)。

    youdao

  • However I was misguided by some articles into implementing the Diposable pattern with a Finalizer in any case.

    但是误导的一些文章实现任何情况下,终结器的一次性模式

    youdao

  • A finalizer is an appropriate vehicle for performing this task, assuming the native peer holds no critical resources.

    假设本地对等体拥有重要资源终结方法执行这个任务合适工具

    youdao

  • It can take arbitrarily long between the time that an object becomes unreachable and the time that its finalizer is executed.

    对象变得不可访问开始到它的终结方法执行结束,这中间的时间可以任意

    youdao

  • If you are considering writing such a safety-net finalizer, think long and hard about whether the extra protection is worth the extra cost.

    如果正在考虑这样一个安全网终结方法,要仔细思考这种额外保护是否值得额外的代价。

    youdao

  • When the zombie finalizer is called, it takes the object being finalized - referenced by this - and stores it in the static zombie variable.

    调用zombie终结获取终结的对象(this引用)将它存储静态zombie变量中。

    youdao

  • The disadvantage of this approach is that the existence of the finalizer means that the object is kept alive longer than it otherwise would be.

    方法缺点终结器的存在意味着对象的存活期其他情况下更长

    youdao

  • NET Framework 4, by default, if a Task that has an unobserved exception is garbage collected, the finalizer throws an exception and terminates the process.

    NET框架4默认情况下,如果一个例外避人耳目垃圾收集任务析构函数抛出异常终止过程。

    youdao

  • 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.

    终结恢复即将被垃圾收集能力无疑终结机制工作方式一种意外后果

    youdao

  • Analysis revealed that at the time of its death, the application had thousands of graphics objects on its finalizer queue just waiting to be finalized and reclaimed.

    分析表明程序死亡,应用中的终结方法队列中成千上万的图形对象等待终结回收。

    youdao

  • Additionally, the memory associated with the object is not garbage collected until after the finalizer is executed, which can increase the memory demands on the program.

    另外对象相关内存直到终止程序执行才会回收这样使程序内存的要求增加

    youdao

  • For example, depending on a finalizer to release a persistent lock on a Shared resource such as a database is a good way to bring your entire distributed system to a grinding halt.

    例如依赖终结方法释放一个共享资源例如数据库,的持续,很容易引起整个分布式系统突然当掉。

    youdao

  • Note that the public class, Foo, has no finalizer (other than the trivial one it inherits from Object), so it doesn't matter whether a subclass finalizer calls super. finalize or not.

    注意公有Foo没有终结方法(除非object继承一个无关紧要的),因此子类的终结方法是否调用super .finalize重要的。

    youdao

  • If a finalizer (final queue) is associated with a soft or weak reference, then only after the soft or weak reference is removed is the finalizer removed on the next GC pass that is run.

    如果finalizer (final查询)一个softweak引用相关那么只有这个soft或weak引用删除后,这个finalizer才会在所运行下一个GCpass被删除。

    youdao

  • Unfortunately, the finalizer thread was running at a lower priority than another application thread, so objects weren't getting finalized at the rate they became eligible for finalization.

    遗憾终结方法线程运行优先级要低于一个应用线程,因此个应用线程中的对象变得可以被终结时,它们不能被终结。

    youdao

  • When a finalizer throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then allows the finalizer thread to resume running finalizers.

    终结引发无法处理异常时,运行时将把异常堆栈跟踪打印控制台然后允许终结器线程继续运行终结器。

    youdao

  • When a finalizer throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then allows the finalizer thread to resume running finalizers.

    终结引发无法处理异常时,运行时将把异常堆栈跟踪打印控制台然后允许终结器线程继续运行终结器。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定