首页> 外文期刊>Tsinghua Science and Technology >Class-Based garbage collection in object-oriented programming environments
【24h】

Class-Based garbage collection in object-oriented programming environments

机译:面向对象的编程环境中基于类的垃圾回收

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

摘要

Many garbage collection algorithms have been proposed, but few address the special needs of long-running server programs. Server applications usually run for years and spawn many threads, so they create and discard thousands of objects. Therefore, efficient garbage collection is especially important for those applications. This paper presents a class-based garbage collector for object-oriented programming environments that classifies objects by their types to achieve better gradual ness. Grouping objects of the sarre type into a group, with a lirnted typa-lock, a mutator cache and the lease protocol will reduce memory fragmentation, which is especially important for the efficiency of long-running server applications. This class-based collector partitions the heap space by type, which provides better concurrercy than the traditional mark-sweep collector, and its reusable garbaged object pool also reduces the object allocation overhead. This paper also discusses the impl ementation details, such as the mutator cache and the lease protocol, and techniques to achieve better accuracy.
机译:已经提出了很多垃圾收集算法,但是很少有能解决长时间运行的服务器程序的特殊需求。服务器应用程序通常运行数年并产生许多线程,因此它们创建并丢弃了数千个对象。因此,有效的垃圾收集对于那些应用程序尤其重要。本文为面向对象的编程环境提供了一个基于类的垃圾收集器,该垃圾收集器按对象的类型对对象进行分类以实现更好的渐进性。将sarre类型的对象归为一组,并使用有限的错字锁,更改器缓存和租用协议来减少内存碎片,这对于长时间运行服务器应用程序的效率尤其重要。这种基于类的收集器按类型划分堆空间,这比传统的标记清除收集器提供了更好的并发性,并且其可重用的垃圾对象池还减少了对象分配开销。本文还讨论了实现细节,例如mutator缓存和租约协议,以及实现更好准确性的技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号