Write barrier elision for concurrent garbage collectors

  • Authors:
  • Martin T. Vechev;David F. Bacon

  • Affiliations:
  • Cambridge University, Cambridge, U.K.;IBM T.J. Watson Research Center, Yorktown Heights, NY

  • Venue:
  • Proceedings of the 4th international symposium on Memory management
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

Concurrent garbage collectors require write barriers to preserve consistency, but these barriers impose significant direct and indirect costs. While there has been a lot of work on optimizing write barriers, we present the first study of their elision in a concurrent collector. We show conditions under which write barriers are redundant, and describe how these conditions can be applied to both incremental update or snapshot-at-the-beginning barriers. We then evaluate the potential for write barrier elimination with a trace-based limit study, which shows that a significant percentage of write barriers are redundant. On average, 54% of incremental barriers and 83% of snapshot barriers are unnecessary.