【24h】

The Collie: A Wait-Free Compacting Collector

机译:牧羊犬:无等待的压实收集器

获取原文
获取原文并翻译 | 示例

摘要

We describe the Collie collector, a fully concurrent compacting collector that uses transactional memory techniques to achieve wait-free compaction. The collector uses compaction as the primary means of reclaiming unused memory, and performs "individual object transplantations" as transactions. We introduce new terms and requirements useful for analyzing concurrent relocating collectors, including definitions of referrer sets, object transplantation and the notion of individually transplantable objects. The Collie collector builds on these terms and on a detailed analysis of an object's legal states during compaction. Collie uses a combination of read barriers, write barriers and transactional memory operations. Its read-barrier supports fast, direct object referencing while using a bound, constant time, wait-free triggering path. Collie thereby avoids the constant indirection cost of Brooks style barriers or handle-based heaps . Collie is demonstrated using speculative multi-address atomicity , a form of hardware transactional memory supported by the Azul Vega architecture . We evaluate the Collie collector on the Azul platform, on which previous concurrent collectors such as the Pauseless Collector and its generational variant have been commercially available for several years. We discuss Collie's performance while running sustained workloads, and compare it to the Pauseless collector on the same platform. The Collie collector provides significant MMU improvements even in the l-msec time windows compared to the Pauseless collector. At the same time, it matches Pauseless in throughput and in the ability to scale to large heap sizes. We believe that the Collie collector is the first garbage collector to leverage hardware-assisted transactional memory. While Collie directly leverages Vega's speculative multi-address atomicity feature (SM A) , its design can be easily adapted to other hardware-assisted transactional memory systems. Specifically, the upcoming Intel TSX instruction set extensions include capabilities similar to SMA. We expect Collie to be easily implementable on future commodity servers based on Intel Haswell processors and following processor generations.
机译:我们描述了Collie收集器,它是一个完全并发的压缩收集器,它使用事务存储技术来实现无等待的压缩。收集器使用压缩作为回收未使用内存的主要方式,并执行“单个对象移植”作为事务。我们介绍了可用于分析并发重定位收集器的新术语和要求,包括引荐来源集的定义,对象移植以及可移植对象的概念。 Collie收集器基于这些术语以及对压缩过程中对象法律状态的详细分析。 Collie结合使用了读取屏障,写入屏障和事务性内存操作。它的读取屏障支持快速,直接的对象引用,同时使用绑定的,恒定时间的,免等待的触发路径。因此,Collie避免了Brooks样式障碍或基于句柄的堆的持续间接成本。使用推测性多地址原子性演示了Collie,这是Azul Vega架构支持的一种硬件事务存储形式。我们在Azul平台上评估了Collie收集器,在该收集器上,以前的并行收集器(如Pauseless Collector及其世代变体)已经在商业上使用了几年。我们讨论了Collie在运行持续工作负载时的性能,并将其与同一平台上的Pauseless收集器进行了比较。与无暂停收集器相比,Collie收集器即使在1毫秒的时间窗口内也可以显着提高MMU。同时,它在吞吐量和扩展到大堆大小的能力方面与Pauseless相匹配。我们认为,Collie收集器是第一个利用硬件辅助事务存储的垃圾收集器。虽然Collie直接利用Vega的推测性多地址原子性功能(SM A),但其设计可以轻松地适应其他硬件辅助的事务存储系统。具体来说,即将推出的英特尔TSX指令集扩展包括与SMA类似的功能。我们希望Collie能够在基于Intel Haswell处理器和后续处理器的未来商用服务器上轻松实现。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号