首页> 外文会议>Practical Aspects of Declarative Languages >Garbage Collection Algorithms for Java―Based Prolog Engines
【24h】

Garbage Collection Algorithms for Java―Based Prolog Engines

机译:基于Java的Prolog引擎的垃圾收集算法

获取原文

摘要

Implementing a Prolog Runtime System in a language like Java, which provides its own automated memory management and safety features (like built-in index checking and array initialization) requires a consistent approach to memory management based on a simple ultimate goal: minimizing total memory management time (the sum of Java's own and ours). Based on our experience with Jinni 2002 -a Java based compiled Prolog system, we analyze the existing garbage collection algorithms and propose new optimizations. In particular, we aim to have a garbage collector with least extra helper memory space yet with reasonably fast speed. Efforts are made in reducing both time and space overhead for the mark-sweep-compact algorithm. We suggest an in-place compaction algorithm and provide its implementation. As the Prolog engine uses dynamic arrays for its stacks, the impact of Java's garbage collector on the system becomes a key factor. In this context, we measure and optimize the performance of the garbage collector with the overall memory management scheme in mind.
机译:以Java之类的语言来实现Prolog Runtime System,该语言提供自己的自动内存管理和安全功能(例如内置索引检查和数组初始化),需要一种基于简单最终目标的一致的内存管理方法:最小化总内存管理时间(Java自己和我们自己的时间之和)。基于我们对基于Java的Prolog系统Jinni 2002的经验,我们分析了现有的垃圾收集算法并提出了新的优化方法。特别是,我们的目标是拥有一个垃圾收集器,该垃圾收集器具有最少的辅助存储空间,并且具有相当快的速度。努力减少标记扫描紧凑算法的时间和空间开销。我们建议就地压缩算法并提供其实现。由于Prolog引擎对其堆栈使用动态数组,因此Java的垃圾回收器对系统的影响成为关键因素。在这种情况下,我们会考虑整体内存管理方案来衡量和优化垃圾收集器的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号