finalizer中文,finalizer的意思,finalizer翻译及用法

2025-10-08 17:16 浏览次数 10

finalizer

英['faɪnəlaɪzər]美['faɪnəlaɪzər]

n. 终结器;定稿人;终止化器

finalizer 片语

片语

finalizer log终结器日志

Critical Finalizer关键终结器

Finalizer Rule对象终结规则

finalizer thread终结线程

Translation Finalizer翻译终结器

finalizer r终结器

finalizer guardian终结函数守卫者

finalizer chaining终结函数链

finalizer 例句

英汉例句

  • the existence of a finalizer means that an unreachable object cannot be garbage-collected until the finalizer has been run, and this object may be keeping yet more objects alive.

    终结器的存在意味着在终结器运行之前,不会对无法访问的对象执行垃圾收集,而且此对象可能使更多对象存活。

  • for example, it is a grave error to depend on a finalizer to close files, because open file descriptors are a limited resource.

    例如,依赖终结方法来关闭文件是一个严重的错误,因为开放的文件描述符是一种有限的资源。

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

    该漏洞是使用终结器来恢复对象的着名技术的一种变体。

  • findbugs detects a number of questionable finalizer constructs, such as

    findbugs检测很多有问题的finalizer构造,如

  • 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查询)与一个soft或weak引用相关,那么只有当这个soft或weak引用删除后,这个finalizer 才会在所运行的下一个gcpass 上被删除。

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

    可以为所创建的类创建一个终结器并将它声明为final。

  • even with one of the other gc policies, there is no guarantee that a finalizable object will be detected as unreachable and have its finalizer run in a timely fashion.

    即使使用其他gc策略,也无法保证能够探测到可终结的对象,并及时运行它的终止程序 (finalizer)。

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

    无法保证终结器将在何时运行,或者甚至它是否会运行。

  • this prevents the finalizer from reclaiming other objects.

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

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

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

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

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

  • however i was misguided by some articles into implementing the diposable pattern with a finalizer in any case.

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

  • can a finalizer use a string member?

    终结器可以使用一个字符串会员?。

  • an empty finalizer (which negates the effect of the superclass finalizer)

    空的finalizer(它抵消超类 finalizer的作用)。

  • this dissertation regards linshu as the comprehensive synthesizer and finalizer of the theory of ancient chinese proses.

    本文把林纾古文论定位于「中国古文论的集成与终结」。

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

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

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

    空的终结器只会徒增这种系统开销,而没有一点好处。

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

    终结器可以使用此方法使自己或引用的对象重新起用。

  • 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 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变量中。

  • the class does not implement a finalizer because the class does not directly own any unmanaged resources.

    因为该类不直接拥有任何非托管资源,所以它不实现终结器。

  • the behavior of a program that depends on the promptness of finalizer execution may likewise vary.

    依赖终结方法执行及时性的程序同样变化很大。

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

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

相关热词