• 对于其他对象通常最好避免终结器

    For other objects, finalizers are generally best avoided.

    youdao

  • 不要依赖终结器作为释放资源主要方式

    Don't rely on finalizers as the primary means of releasing resources.

    youdao

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

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

    youdao

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

    This prevents the finalizer from reclaiming other objects.

    youdao

  • 所以删除了所有这些类型终结

    So I removed all finalizers from all these types.

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • 将外部输入、终结或状态添加数据图表中

    Adds a resizable entity to your data flow diagram.

    youdao

  • 例如无法析构函数终结器请求一个新的

    For example, a new slot cannot be requested on a destructor or finalizer.

    youdao

  • 终结可以使用方法使自己引用对象重新起用。

    A finalizer can use this method to resurrect itself or an object that it references.

    youdao

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

    An empty finalizer incurs this added overhead without any benefit.

    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

  • 原因很多,最重要一个原因是,终结器很难正确编写并且容易编写错)。

    There are a number of reasons, foremost of which is that finalizers are very tricky to write correctly (and very easy to write incorrectly).

    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

  • 应尽可能避免终结因为跟踪对象生存期会产生额外性能系统开销

    Whenever you can, avoid finalizers because of the additional performance overhead that is involved in tracking object lifetime.

    youdao

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

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

    youdao

  • 终结器就是置于电缆终端一个电阻负荷,用来防止数据信号反射回到线路中去。

    A resistive load placed at the end of a cable to prevent data signals from reflecting back into the data path.

    youdao

  • 终结不仅难以编写正确终结定时也是不确定并且不能保证终结器最终运行

    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.

    youdao

  • 如果一个对象有些终结,那么运行时只要在终结方法调用执行垃圾回收。

    The runtime cannot garbage collect objects with finalizers until after their finalization methods have been called.

    youdao

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

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

    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

  • 如果说平台提供终结清除打开文件大大降低忘记式地关闭这些句柄的风险为什么更多使用终结器呢?

    If the platform libraries provide finalizers for cleaning up open file handlers, which greatly reduces the risk of forgetting to close them explicitly, why aren't finalizers used more often?

    youdao

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

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

    youdao

  • 测试通过服务交付完成测试脚本来终结任务

    Testers resolve the task by delivering the finished test scripts to the server.

    youdao

  • 越来越多的侦听添加伙伴列表而且它们永远不会删除

    The end result was that more and more listeners were added to the buddy list and never removed.

    youdao

  • 没有留给垃圾回收足够空间用于垃圾整理,就产生一个致命内存异常进程终结

    If the garbage collector does not have enough space for its collections you will get a fatal out of memory exception and the process will die.

    youdao

  • 上述举措太可能终结新兴电子阅读市场这种盘旋势头。

    The moves aren't likely to end the gyrations in the nascent e-reader market.

    youdao

  • 上述举措太可能终结新兴电子阅读市场这种盘旋势头。

    The moves aren't likely to end the gyrations in the nascent e-reader market.

    youdao

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

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

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