散文网 | 字典

finalizer的意思,finalizer的音标读音解释

2016-05-11 22:31

finalizer翻译

终结器

音标读音

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

基本意思

定稿人

形近的词

finalizes finalized

变形

例句

  1. This behavior ensures process integrity if the finalizer cannot free or destroy resources.
    如果终结器无法释放或销毁资源,此行为可以确保进程完整性。
  2. Exceptions that are thrown from a finalizer method will not be caught, and can cause unexpected results.
    从终结器方法引发的异常不会被捕捉到,并且会导致无法预料的结果。
  3. Do not use a static mutable state in a finalizer.
    不要在终结器中使用静态可变状态。
  4. The exact time when the finalizer executes during garbage collection is undefined.
    垃圾回收过程中执行终结器的准确时间是不确定的。
  5. Objects that need finalization stay in memory for far longer than objects without a finalizer.
    需要终结的对象比没有终结器的对象在内存里会驻留更长时间。
  6. The thread on which the finalizer is run is unspecified.
    运行终结器的线程是未指定的。
  7. When using any external state, such as writing to a log file, in a finalizer, threading issues must be handled.
    在终结器中使用任何外部状态时,如向日志文件写入,必须处理线程处理问题。
  8. Upon allocation, the finalizer and its call graph are prepared in advance.
    进行分配时,终结器及其调用关系图是事先准备好的。
  9. Explicit invocation of finalizers ( calling finalize() from user code)
    显式的finalizer调用(从用户代码中调用finalize())。
  10. Do-nothing finalizers ( which only call super. finalize(), but which can inhibit certain runtime optimizations)
    不实现任何功能的finalizer(它只调用super.finalize(),但是这对运行时优化可能造成一些损害)。
  11. So when the GC finds an unreferenced object with a finalizer, it places the object on the finalization queue and moves on.
    因此,当垃圾收集器发现具有终结器但未被引用的对象时,会将该对象加入到终结队列中,并继续工作。
  12. Method throws an IOException, then the stream will not be closed ( until the garbage collector runs its finalizer).
    但是如果props.load()方法抛出一个IOException,那么流则不会被关闭(直到垃圾收集器运行其终结器)。
  13. Recycling can clean up resources on the finalizer thread, it is still important to put cleanup code in the correct place.
    回收可以清理终结器线程的资源,将清除代码位置在正确的位置仍很重要。
  14. 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上被删除。
  15. Finalizer to clean it up, the next time your code runs it may fail trying to access the exact same file if the finalizer has not already run.
    终结器将其清理,则下次代码运行时,如果终结器尚未运行,访问该文件的尝试就可能失败。
  16. 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.
    终结器的存在意味着在终结器运行之前,不会对无法访问的对象执行垃圾收集,而且此对象可能使更多对象存活。
  17. If that misbehaving finalizer erroneously tries over and over again to access the database, never returning, the "well-behaved" finalizer will never get a chance to run.
    如果该运行不正常的终结器反复尝试对数据库进行错误的访问而从不返回,则“运行正常”的终结器将永远没有机会运行。
  18. 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.
    此方法的缺点是,终结器的存在意味着对象的存活期比其他情况下更长。
  19. 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.
    另外,与对象相关的内存直到终止程序执行后才会回收,这样会使程序对内存的要求增加。
  20. 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.
    终结器恢复即将被垃圾收集的能力无疑是终结机制工作方式的一种意外后果。
  21. 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)。
  22. FindBugs detects a number of questionable finalizer constructs, such as
    FindBugs检测很多有问题的finalizer构造,如
  23. Still, there are times when you need to use finalizers, and there are a number of errors you can make when doing so.
    仍然有些时候需要使用finalizer,而这样做的过程中可能产生很多错误。
  24. Any unmanaged memory that was leaked by a component because its finalizer didn't run will still be sitting around unreferenced, unreachable, and taking up space.
    任何因自身终结器未运行而被组件泄漏的非托管内存都将继续保持未引用状态,无法被访问,并且占用一定空间。
  25. Finalizers have a significant performance cost, and they are not guaranteed to run in a predictable amount of time ( or even at all).
    Finalizer需要牺牲很多性能,并且它们不能(甚至完全不能)保证在预计的时间段运行。
  26. An empty finalizer ( which negates the effect of the superclass finalizer)
    空的finalizer(它抵消超类finalizer的作用)。
  27. Revisiting the Text Proof of the Finalizer of Journey to the West
    再论《西游记》最终定稿人的文本证据

百科解释

收尾:每个类都有一个特殊的方法finalizer,它不能被直接调用,而被JVM在适当的时候调用,通常用来处理一些清理资源的工作,因此称为收尾机制。

网络意思

终结器
终结方法
使用终结器
完成器
终结函数

finalizer的相关作文