Skew-space garbage collection

被引:2
作者
Tong, Liangliang [1 ]
Lau, Francis C. M. [1 ]
机构
[1] Univ Hong Kong, Dept Comp Sci, Hong Kong, Hong Kong, Peoples R China
关键词
Skew space; Mark compact; Semi space; Garbage collection; Space efficiency; VIRTUAL MACHINE; PERFORMANCE; !text type='JAVA']JAVA[!/text;
D O I
10.1016/j.scico.2011.06.003
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Semispace garbage collectors relocate all the live objects in one step, which is simple and leads to good performance. Compared with mark-compact collectors, however, they need to reserve extra heap space for copying live objects. As much as half of the heap could be reserved as it is possible that all the allocated objects survive. In reality, however, most programs exhibit a high infant mortality, and therefore reserving half the heap is wasteful. We have observed that the memory usage of many ordinary programs is relatively stable over the course of their execution. This provides an opportunity for online predictions to dynamically adjust and optimize the reserved space. Consequently, we propose a skew-space garbage collector that reserves space dynamically. This collector is implemented using the MMTk framework of the likes RVM and gives encouraging results against related garbage collection algorithms for the DaCapo and SPECjvm98 benchmarks. (C) 2011 Elsevier B.V. All rights reserved.
引用
收藏
页码:445 / 457
页数:13
相关论文
共 29 条
  • [1] Albert E, 2009, ISMM'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, P129
  • [2] The Jikes research virtual machine project: Building an open-source research community
    Alpern, B
    Augart, S
    Blackburn, SM
    Butrico, M
    Cocchi, A
    Cheng, P
    Dolby, J
    Fink, S
    Grove, D
    Hind, M
    McKinley, KS
    Mergen, M
    Moss, JEB
    Ngo, T
    Sarkar, V
    Trapp, M
    [J]. IBM SYSTEMS JOURNAL, 2005, 44 (02) : 399 - 417
  • [3] The Jalapeno virtual machine
    Alpern, B
    Attanasio, CR
    Barton, JJ
    Burke, MG
    Cheng, P
    Choi, JD
    Cocchi, A
    Fink, SJ
    Grove, D
    Hind, M
    Hummel, SF
    Lieber, D
    Litvinov, V
    Mergen, MF
    Ngo, T
    Russell, JR
    Sarkar, V
    Serrano, MJ
    Shepherd, JC
    Smith, SE
    Sreedhar, VC
    Srinivasan, H
    Whaley, J
    [J]. IBM SYSTEMS JOURNAL, 2000, 39 (01) : 211 - 238
  • [4] SIMPLE GENERATIONAL GARBAGE COLLECTION AND FAST ALLOCATION
    APPEL, AW
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1989, 19 (02) : 171 - 183
  • [5] Adaptive optimization in the Jalapeno JVM
    Arnold, M
    Fink, S
    Grove, D
    Hind, M
    Sweeney, PF
    [J]. ACM SIGPLAN NOTICES, 2000, 35 (10) : 47 - 65
  • [6] Bacon D.F., 2004, INT C EMB SOFTW, P125
  • [7] A unified theory of garbage collection
    Bacon, DF
    Cheng, P
    Rajan, VT
    [J]. ACM SIGPLAN NOTICES, 2004, 39 (10) : 50 - 68
  • [8] BARRETT DA, 1995, SIGPLAN NOTICES, V30, P301, DOI 10.1145/223428.207164
  • [9] Oil and water? High performance garbage collection in Java']Java with MMTk
    Blackburn, SM
    Cheng, P
    McKinley, KS
    [J]. ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2004, : 137 - 146
  • [10] Immix: A mark-region garbage collector with space efficiency, fast collection, and mutator performance
    Blackburn, Stephen M.
    McKinley, Kathryn S.
    [J]. ACM SIGPLAN NOTICES, 2008, 43 (06) : 22 - 32