The problem with a mark-sweep algorithm is that it can lead to fragmentation (Figure 2).
“标记-清扫”算法的问题是可能会导致碎片(fragmentation),如图 2 所示。
In this type of GC, only the mark and sweep phases of GC are run.
在这类GC内,只运行GC的mark和sweep阶段。
The process has three major phases: mark, sweep, and compact.
这个过程有三个主要阶段:mark、sweep和compact。
The process has three major phases: mark, sweep, and compact.
这个过程有三个主要阶段:mark、sweep和compact。
应用推荐