首页> 外文会议>Logic Programming >A Different Look at Garbage Collection for the WAM
【24h】

A Different Look at Garbage Collection for the WAM

机译:WAM的垃圾收集方式不同

获取原文

摘要

A non-algorithmic approach to garbage collection for the WAM heap is developed. A set of garbage collections compatible with the WAM is specified in two steps: the first step makes the useful data for each continuation private and ensures that only useful terms survive garbage collection. The second step completes garbage collection by extending the intuitive notion of folding of identical structures. The role of the trail in the folding process is crucial and it is shown for the ordinary WAM trail as well as for a value trail. New and unexpected opportunities for recovering memory are discovered to be compatible with this view of garbage collection. This approach leads to better understanding of the usefulness logic in the WAM, it is a good start for the formal specification of the garbage collection process and it shows a potential for new compile time analyses that can improve run time memory management. Choice point trimming is used as a vehicle to show selective liveness of data, so its relation to the more common stack maps is established.
机译:开发了一种非算法的WAM堆垃圾收集方法。分两个步骤指定了一组与WAM兼容的垃圾收集:第一步将每个连续的有用数据私有化,并确保只有有用的术语才能在垃圾收集中生存。第二步通过扩展折叠相同结构的直观概念来完成垃圾收集。路径在折叠过程中的作用至关重要,它已显示在普通WAM路径和价值路径中。发现新的和意外的恢复内存的机会与此垃圾回收视图兼容。这种方法可以使人们更好地理解WAM中的有用逻辑,这是对垃圾收集过程进行正式规范的良好开端,并且它显示了进行新的编译时分析的潜力,可以改善运行时内存管理。选择点修整用作显示选择性数据活跃性的工具,因此建立了它与更常见的堆栈图的关系。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号