首页> 外文会议>Logic Programming >On Enabling the WAM with Region Support
【24h】

On Enabling the WAM with Region Support

机译:关于在区域支持下启用WAM

获取原文

摘要

Region-based memory management is an attractive alternative to garbage collection. It relies on a compile-time analysis to annotate the program with explicit allocation and deallocation instructions, where lifetimes of memory objects are grouped together in regions. This paper investigates how to adapt the runtime part of region-based memory management to the WAM setting. We present additions to the memory architecture and instruction set of the WAM that are necessary to implement regions. We extend an optimized WAM-based Prolog implementation with a region-based memory manager which supports backtracking with instant reclamation, and cuts. The performance of region-based execution is compared with that of the baseline garbage-collected implementation on several benchmark programs. A region-enabled WAM performs competitively and often results in time and/or space improvements.
机译:基于区域的内存管理是垃圾回收的一种有吸引力的替代方法。它依靠编译时分析来使用显式分配和释放指令对程序进行注释,其中内存对象的生存期在区域中分组在一起。本文研究如何使基于区域的内存管理的运行时部分适应WAM设置。我们介绍了WAM的内存体系结构和指令集的附加内容,这些附加内容是实现区域所必需的。我们使用基于区域的内存管理器扩展了基于WAM的优化Prolog实现,该管理器支持即时回收和剪切的回溯。将基于区域的执行的性能与几个基准程序上的基线垃圾回收实现的性能进行了比较。具有地区功能的WAM具有竞争优势,通常可以改善时间和/或空间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号