垃圾收集器与类装入器的交互很密切。
The garbage collector interacts closely with the class loader.
在众多的事情当中,收集器检查类装入器的数据结构,来判断哪个类是活动的——也就是说,不应当被当作垃圾收集的。
Among other things, the collector examines the class loader data structures to determine which classes are live — that is, are not garbage collectable.
引用类的主要功能就是能够引用仍可以被垃圾收集器回收的对象。
The main feature of the reference classes is the ability to refer to an object that can still be reclaimed by the garbage collector.
引用类的主要功能就是能够引用仍可以被垃圾收集器回收的对象。
The main feature of the reference classes is the ability to refer to an object that can still be reclaimed by the garbage collector.
应用推荐