A Hardware Accelerator for Tracing Garbage Collection

被引:1
|
作者
Maas, Martin [1 ]
Asanovic, Krste [2 ]
Kubiatowicz, John [3 ]
机构
[1] Google Brain, Mountain View, CA USA
[2] Univ Calif Berkeley, Dept Elect Engn & Comp Sci, Berkeley, CA 94720 USA
[3] Univ Calif Berkeley, Elect Engn & Comp Sci, Berkeley, CA 94720 USA
关键词
Hardware; !text type='Java']Java[!/text; Memory management; Object recognition; Servers; Software; System-on-chip;
D O I
10.1109/MM.2019.2910509
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Many workloads are written in garbage-collected languages and GC consumes a significant fraction of resources for these workloads. We propose to decrease this overhead by moving GC into a small hardware accelerator that is located close to the memory controller and performs GC more efficiently than a CPU. We first show a general design of such a GC accelerator and describe how it can be integrated into both stop-the-world and pause-free garbage collectors. We then demonstrate an end-to-end RTL prototype, integrated into a RocketChip RISC-V System-on-Chip (SoC) executing full Java benchmarks within JikesRVM running under Linux on FPGAs. Our prototype performs the mark phase of a tracing GC at 4.2 x the performance of an in-order CPU, at just 18.5% the area. By prototyping our design in a real system, we show that our accelerator can be adopted without invasive changes to the SoC, and estimate its performance, area, and energy.
引用
收藏
页码:38 / 46
页数:9
相关论文
共 50 条
  • [1] A Hardware Accelerator for Tracing Garbage Collection
    Maas, Martin
    Asanovic, Krste
    Kubiatowicz, John
    [J]. 2018 ACM/IEEE 45TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA), 2018, : 138 - 151
  • [2] Integrated Hardware Garbage Collection
    Garcia, Andres Amaya
    May, David
    Nutting, Ed
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2021, 20 (05)
  • [3] CONCURRENT GARBAGE COLLECTION ON STOCK HARDWARE
    NORTH, SC
    REPPY, JH
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1987, 274 : 113 - 133
  • [4] Improving Garbage Collection Observability with Performance Tracing
    Huang, Claire
    Blackburn, Stephen M.
    Cai, Zixian
    [J]. PROCEEDINGS OF THE 20TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON MANAGED PROGRAMMING LANGUAGES AND RUNTIMES, MPLR 2023, 2023, : 85 - 99
  • [5] A localized tracing scheme applied to garbage collection
    Chicha, Yannis
    Watt, Stephen M.
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2006, 4279 : 323 - +
  • [6] Tracing Garbage Collection on Highly Parallel Platforms
    Barabash, Katherine
    Petrank, Erez
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (08) : 1 - 10
  • [7] Hardware Accelerated Marking for Mark & Sweep Garbage Collection
    Kawamura, Shinji
    Tsumura, Tomoaki
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2018, E101D (04): : 1107 - 1115
  • [8] Exploring Garbage Collection with Haswell Hardware Transactional Memory
    Ritson, Carl G.
    Ugawa, Tomoharu
    Jones, Richard E.
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (11) : 105 - 115
  • [9] Concurrent garbage collection using hardware-assisted profiling
    Heil, TH
    Smith, JE
    [J]. ACM SIGPLAN NOTICES, 2001, 36 (01) : 80 - 93
  • [10] Capability Boehm: Challenges and Opportunities for Garbage Collection with Capability Hardware
    Jacob, Dejice
    Singer, Jeremy
    [J]. PROCEEDINGS OF THE 18TH ACM SIGPLAN/SIGOPS INTERNATIONAL CONFERENCE ON VIRTUAL EXECUTION ENVIRONMENTS, VEE 2022, 2022, : 81 - 87