期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Class-Based Garbage Collection in Object-Oriented Programming Environments 被引量:2
1
作者 张武生 黄启峰 +1 位作者 沈美明 郑纬民 《Tsinghua Science and Technology》 SCIE EI CAS 2003年第6期658-666,共9页
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 ... 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 gradualness. Grouping objects of the same type into a group, with a limited type-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 concurrency than the traditional mark-sweep collector, and its reusable garbaged object pool also reduces the object allocation overhead. This paper also discusses the implementation details, such as the mutator cache and the lease protocol, and techniques to achieve better accuracy. 展开更多
关键词 garbage collection class-based object management mutator cache lease protocol
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部