首页> 外国专利> Local allocation buffers for parallel garbage collection

Local allocation buffers for parallel garbage collection

机译:用于并行垃圾回收的本地分配缓冲区

摘要

A multiprocessor, multiprogram, stop-the-world garbage collection program is described. The system initially over partitions the root sources, and then iteratively employs static and dynamic work balancing. Garbage collection threads compete dynamically for the initial partitions. Work stealing double-ended queues, where contention is reduced, are described to provide dynamic load balancing among the threads. Contention is resolved by atomic instructions. The heap is broken into a young and an old generation where semi-space copying employing local allocation buffers is used to collect the reachable objects in the young section, and for promoting objects from the young to the old generations, and parallel mark-compacting is used for collecting the old generation. Efficiency of collection is enhanced by use of card tables and linking objects, and overflow conditions are efficiently handled by linking using class pointers. The garbage collection termination using a global status word is employed.
机译:描述了一种多处理器,多程序,世界各地的垃圾回收程序。系统首先对根源进行过度分区,然后反复使用静态和动态工作平衡。垃圾回收线程会动态竞争初始分区。描述了减少争用的窃取双端队列的工作,以在线程之间提供动态负载平衡。争用通过原子指令解决。堆分为年轻一代和老一代,其中使用本地分配缓冲区的半空间复制用于收集年轻部分中的可访问对象,并将对象从年轻一代提升到老一代,并行标记压缩是用于收集旧的一代。通过使用卡表和链接对象可以提高收集效率,并且通过使用类指针进行链接可以有效地处理溢出情况。使用了使用全局状态字的垃圾收集终止。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号