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 条
  • [1] Partial evaluation for class-based object-oriented languages
    Schultz, UP
    [J]. PROGRAMS AS DATA OBJECTS, PROCEEDINGS, 2001, 2053 : 173 - 197
  • [2] The Oea framework for class-based object-oriented style Java']JavaScript for web programming
    Sagar, Musbah Sh
    Duce, David A.
    Younas, Muhammad
    [J]. COMPUTER STANDARDS & INTERFACES, 2009, 31 (05) : 894 - 905
  • [3] GARBAGE COLLECTION IN A DISTRIBUTED OBJECT-ORIENTED SYSTEM
    GUPTA, A
    FUCHS, WK
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1993, 5 (02) : 257 - 265
  • [4] Memory garbage collection for an object-oriented processor
    Ho, C. Y.
    Lo, W. Y.
    Fong, Anthony S. S.
    [J]. INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY, PROCEEDINGS, 2007, : 522 - +
  • [5] Separate compositional analysis of class-based object-oriented languages
    Logozzo, F
    [J]. ALGEBRAIC METHODOLOGY AND SOFTWARE TECHNOLOGY: PROCEEDINGS, 2004, 3116 : 334 - 348
  • [6] The Coverage of the Object-Oriented Framework Application Class-Based Test Cases
    Al Dallal, Jehad
    Sorenson, Paul
    [J]. PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 16, 2006, 16 : 103 - +
  • [7] OBJECT-ORIENTED PROGRAMMING ENVIRONMENTS - REQUIREMENTS AND APPROACHES
    BISCHOFBERGER, WR
    KOFLER, T
    SCHAFFER, B
    [J]. SOFTWARE-CONCEPTS AND TOOLS, 1994, 15 (02): : 49 - 60
  • [8] The Concept of Class Invariant in Object-oriented Programming
    Meyer, Bertrand
    Arkadova, Alisa
    Kogtenkov, Alexander
    [J]. FORMAL ASPECTS OF COMPUTING, 2024, 36 (01)
  • [9] Reusing class-based test cases for testing object-oriented framework interface classes
    Al Dallal, J
    Sorenson, P
    [J]. JOURNAL OF SOFTWARE MAINTENANCE AND EVOLUTION-RESEARCH AND PRACTICE, 2005, 17 (03): : 169 - 196
  • [10] ALGEBRAIC SPECIFICATION TECHNIQUES IN OBJECT-ORIENTED PROGRAMMING ENVIRONMENTS
    BREU, R
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1991, 562 : R3 - +