Comparing Reference Counting and Global Mark-and-Sweep on Parallel Computers

  • Authors:
  • Hirotaka Yamamoto;Kenjiro Taura;Akinori Yonezawa

  • Affiliations:
  • -;-;-

  • Venue:
  • LCR '98 Selected Papers from the 4th International Workshop on Languages, Compilers, and Run-Time Systems for Scalable Computers
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

We compare two dynamic memory management schemes for distributed-memory parallel computers, one based on reference counting and the other based on global mark-and-sweep. We present a simple model in which one can analyze performance of the two types of GC schemes, and show experimental results. The two important observations drawn from the analysis are: 1) the performance of reference counting largely depends on shapes of data structures; specifically, it is bad when applications use deeply nested data structures such as distributed trees. 2) the cost of reference counting has a portion that is independent of the heap size while that of global mark-and-sweep does not. We confirmed these observations through experiments using three parallel applications.