|
|
1
17
终结器由垃圾收集在
eligible for collection
被回收。
finalizers don't have to run ,因此依赖它可能是危险的:
âthe region of program text in which it is legal to refer to [a named entity] by its unqualified name.â )它也不是严格的引用计数,因为即使在对它的最后一个引用消失之前,对象也可以成为有资格收集的对象。 |
|
|
2
16
|