Class-Based Garbage Collection in Object-Oriented Programming Environments

被引:1
|
作者
张武生
黄启峰
沈美明
郑纬民
机构
[1] Tsinghua University Beijing 100084
[2] Department of Computer Science and Technology
[3] China
[4] Tsinghua University
关键词
garbage collection; class-based object management; mutator cache; lease protocol;
D O I
暂无
中图分类号
TP301.6 [算法理论];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:658 / 666
页数:9
相关论文
共 50 条
  • [31] Object-oriented robot programming
    Zielinski, C
    [J]. ROBOTICA, 1997, 15 : 41 - 48
  • [32] OBJECT-ORIENTED PROGRAMMING IN AI
    SRINIVASAN, K
    [J]. IEEE EXPERT-INTELLIGENT SYSTEMS & THEIR APPLICATIONS, 1992, 7 (01): : 80 - 81
  • [33] ADVANTAGES OF OBJECT-ORIENTED PROGRAMMING
    VALDES, IH
    [J]. M D COMPUTING, 1994, 11 (05): : 282 - 283
  • [34] OBJECT-ORIENTED PROGRAMMING WITH FLAVORS
    MOON, DA
    [J]. SIGPLAN NOTICES, 1986, 21 (11): : 1 - 8
  • [35] AN EXERCISE IN OBJECT-ORIENTED PROGRAMMING
    PRIES, J
    [J]. JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1989, 1 (05): : 77 - 80
  • [36] THE PROMISE OF OBJECT-ORIENTED PROGRAMMING
    DIXON, P
    [J]. BEHAVIOR RESEARCH METHODS INSTRUMENTS & COMPUTERS, 1991, 23 (02): : 134 - 141
  • [37] OBJECT-ORIENTED PROGRAMMING IN AL
    ALPERT, SR
    WOYAK, SW
    SHROBE, HJ
    ARROWOOD, LF
    [J]. IEEE INTELLIGENT SYSTEMS & THEIR APPLICATIONS, 1990, 5 (06): : 6 - 7
  • [38] Object-oriented programming with induction
    Swen, B
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (02) : 61 - 67
  • [39] Teaching object-oriented programming
    Viswanathan, KV
    [J]. JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1996, 9 (02): : 8 - &
  • [40] OBJECT-ORIENTED DESIGN AND PROGRAMMING
    CASTILLO, CM
    FLANAGAN, EB
    WILKINSON, NM
    [J]. AT&T TECHNICAL JOURNAL, 1992, 71 (06): : 27 - 33