首页> 外文会议>Compiler Construction; Lecture Notes in Computer Science; 4420 >Accurate Garbage Collection in Uncooperative Environments with Lazy Pointer Stacks
【24h】

Accurate Garbage Collection in Uncooperative Environments with Lazy Pointer Stacks

机译:在不合作的环境中使用惰性指针堆栈进行准确的垃圾收集

获取原文
获取原文并翻译 | 示例

摘要

Implementing a new programming language by the means of a translator to an existing language is attractive as it provides portability over all platforms supported by the host language and reduces the development time as many low-level tasks can be delegated to the host compiler. The C and C++ programming languages are popular choices for many language implementations due to the availability of efficient compilers on many platforms, and good portability. For garbage-collected languages, however, they are not a perfect match as they provide no support for accurately discovering pointers to heap-allocated data. We evaluate the published techniques, and propose a new mechanism, lazy pointer stacks, for performing accurate garbage collection in such uncooperative environments. We implemented the new technique in the Ovm Java virtual machine with our own Java-to-C++ compiler and GCC as a back-end, and found that our technique outperforms existing approaches.
机译:通过将翻译器翻译为现有语言来实现新的编程语言之所以具有吸引力,是因为它可以在宿主语言支持的所有平台上提供可移植性,并且由于可以将许多低级任务委托给宿主编译器,因此可以缩短开发时间。 C和C ++编程语言是许多语言实现的流行选择,这是因为在许多平台上都可以使用高效的编译器,并且具有良好的可移植性。但是,对于垃圾回收的语言,它们并不是完美的匹配,因为它们不提供对准确发现指向堆分配数据的指针的支持。我们评估已发布的技术,并提出一种新的机制,即惰性指针堆栈,用于在这种不合作的环境中执行准确的垃圾回收。我们以自己的Java到C ++编译器和GCC作为后端在Ovm Java虚拟机中实现了这项新技术,并发现我们的技术优于现有方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号