Flexible Reference-Counting-Based Hardware Acceleration for Garbage Collection

被引:0
|
作者
Joao, Jose A. [1 ]
Mutlu, Onur
Patt, Yale N. [1 ]
机构
[1] Univ Texas Austin, ECE Dept, Austin, TX 78712 USA
关键词
Garbage collection; reference counting;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Languages featuring automatic memory management (garbage collection) are increasingly used to write all kinds of applications because they provide clear software engineering and security advantages. Unfortunately, garbage collection imposes a toll on performance and introduces pause times, making such languages less attractive for high-performance or real-time applications. Much progress has been made over the last five decades to reduce the overhead of garbage collection, but it remains significant. We propose a cooperative hardware-software technique to reduce the performance overhead of garbage collection. The key idea is to reduce the frequency of garbage collection by efficiently detecting and reusing dead memory space in hardware via hardware-implemented reference counting. Thus, even though software garbage collections are still eventually needed, they become much less frequent and have less impact on overall performance. Our technique is compatible with a variety of software garbage collection algorithms, does not break compatibility with existing software, and reduces garbage collection time by 31% on average on the Java Da-Capo benchmarks running on the production build of the Jikes RVM, which uses a state-of-the-art generational garbage collector.
引用
收藏
页码:418 / 428
页数:11
相关论文
共 50 条
  • [1] HEAP GARBAGE COLLECTION WITH REFERENCE COUNTING
    Yang, Wuu
    Tseng, Huei-Ru
    Jan, Rong-Hong
    [J]. ICSOFT 2010: PROCEEDINGS OF THE FIFTH INTERNATIONAL CONFERENCE ON SOFTWARE AND DATA TECHNOLOGIES, VOL 2, 2010, : 267 - 270
  • [2] DISTRIBUTED GARBAGE COLLECTION USING REFERENCE COUNTING
    BEVAN, DI
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1987, 259 : 176 - 187
  • [3] INDIRECT REFERENCE COUNTING - A DISTRIBUTED GARBAGE COLLECTION ALGORITHM
    PIQUER, JM
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1991, 505 : 150 - 165
  • [4] Hardware-Assisted Middleware: Acceleration of Garbage Collection Operations
    Tang, Jie
    Liu, Shaoshan
    Gu, Zhimin
    Li, Xiao-Feng
    Gaudiot, Jean-Luc
    [J]. 21ST IEEE INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, 2010,
  • [6] A Principled Approach to Nondeferred Reference-Counting Garbage Collection
    Joisha, Pramod G.
    [J]. VEE'08: PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON VIRTUAL EXECUTION ENVIRONMENTS, 2008, : 131 - 140
  • [7] Biased Reference Counting: Minimizing Atomic Operations in Garbage Collection
    Choi, Jiho
    Shull, Thomas
    Torrellas, Josep
    [J]. 27TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT 2018), 2018,
  • [8] FAULT-TOLERANT REFERENCE COUNTING FOR GARBAGE COLLECTION IN DISTRIBUTED SYSTEMS
    MANCINI, L
    SHRIVASTAVA, SK
    [J]. COMPUTER JOURNAL, 1991, 34 (06): : 503 - 513
  • [9] A Reference-Counting Garbage Collection Algorithm for Cyclical Functional Programming
    Trancon y Widemann, Baltasar
    [J]. ISMM'08: PROCEEDINGS OF THE 2008 INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, 2008, : 71 - 80
  • [10] Ulterior reference counting: Fast garbage collection without a long wait
    Blackburn, SM
    McKinley, KS
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (11) : 344 - 358