首页> 外国专利> Trace termination for on-the-fly garbage collection for weakly-consistent computer architecture

Trace termination for on-the-fly garbage collection for weakly-consistent computer architecture

机译:跟踪终止,用于实时垃圾收集,以实现不一致的计算机体系结构

摘要

A method for memory management in execution of a program by a computer having a memory includes allocating respective portions of the memory to data objects using mutator threads of the program, whereby the objects are held in a heap created by the program. The data objects in the heap are traced so as to mark the data objects that are reachable at a given stage in the program. The computer loops over the mutator threads so as to verify for each of the mutator threads that every update to the allocated portions of the memory in progress by the mutator thread has been completed. The heap is then swept so as to free the memory that is allocated to the data objects that are not marked as reachable, for reallocation to new data objects.
机译:一种用于通过具有存储器的计算机在执行程序时进行存储器管理的方法,该方法包括使用程序的变异线程将存储器的各个部分分配给数据对象,由此将对象保持在由程序创建的堆中。跟踪堆中的数据对象,以标记程序中给定阶段可访问的数据对象。计算机遍历增变器线程,以便为每个增变器线程验证增变器线程对正在进行的存储器的分配部分的每次更新均已完成。然后清除堆,以释放分配给未标记为可访问的数据对象的内存,以便重新分配给新的数据对象。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号