Note, however, that it may take multiple runs of the garbage collector before it finds and frees a weakly reachable object.
然而,请注意,垃圾收集器可能要运行多次才能找到并释放弱可及对象。
A generational garbage collector divides the heap into multiple generations; most JVMs use two generations, a "young" and an "old" generation.
分代垃圾收集器把堆分成多代;多数JVM使用两代,“年轻代”和“年老代”。
A generational collector divides the heap into multiple generations.
分代收集器(generializational collector)将堆分为多个代。
应用推荐