If it does not free enough heap space, it proceeds to collect higher generations until enough memory has been reclaimed.
如果它不能释放足够的堆空间,那么它就继续收集上一代,直到回收了足够的内存。
When free physical memory starts getting low, programs that have not used recently are moved from ram to paging space to help release physical memory for more real work.
当空闲的物理内存较少时,可以将最近没有使用过的程序从RAM转移到分页空间,以帮助释放物理内存,从而完成更多的实际工作。
When the new space runs out of free memory, the garbage is collected only in that space.
当新空间耗尽空闲内存时,将仅在该空间中进行垃圾收集。
应用推荐