标记-清除(Mark-Sweep): 顾名思义,此算法执行分两阶段:标记阶段和清除阶段。第一阶段从引用根节点开始标记所有被引用的对象,第二阶段遍历整个堆,把...
基于188个网页-相关网页
Ruby拥有一个真正的“标记-清除”(mark and sweep)式的垃圾收集器,它对所有Ruby对象起作用。你不需要为维护扩展库中的引用记数担心。
基于16个网页-相关网页
复制算法的性能很优异,但是它有一个缺点是需要两倍于标记-清除收集器所需要的内存。
The copying algorithm has excellent performance characteristics, but it has the drawback of requiring twice as much memory as a mark-sweep collector.
新收集器中的两个——并行复制收集器和并发标记-清除收集器——设计为减少收集暂停时间。
Two of the new collectors are designed to reduce collection pause time — the parallel copying collector and the concurrent mark-sweep collector.
并行复制收集器和并发标记-清除收集器基本上是默认的复制收集器和标记-整理收集器的并发版本。
The parallel copying collector and concurrent mark-sweep collector are basically concurrent versions of the default copying and mark-compact collectors.
应用推荐