They do not have to be completely thread safe; the garbage collector guarantees that only one thread will run the finalizer for a given object instance.

 
  • 它们不必完全是线程安全的;垃圾回收器会保证仅有一个线程运行给定对象实例的终结器。
今日热词
目录 附录 查词历史