CGCExplorer: a semi-automated search procedure for provably correct concurrent collectors

  • Authors:
  • Martin T. Vechev;Eran Yahav;David F. Bacon;Noam Rinetzky

  • Affiliations:
  • Cambridge University, Cambridge, England UK;IBM Research, Hawthorne, NY;IBM Research, Hawthorne, NY;Tel Aviv University, Tel Aviv, Israel

  • Venue:
  • Proceedings of the 2007 ACM SIGPLAN conference on Programming language design and implementation
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Concurrent garbage collectors are notoriously hard to design, implement, and verify. We present a framework for the automatic exploration of a space of concurrent mark-and-sweep collectors. In our framework, the designer specifies a set of "building blocks" from which algorithms can be constructed. These blocks reflect the designer's insights about the coordination between the collector and the mutator. Given a set of building blocks, our framework automatically explores a space of algorithms, using model checking with abstraction to verify algorithms in the space. We capture the intuition behind some common mark-and-sweep algorithms using a set of building blocks. We utilize our framework to automatically explore a space of more than 1,600,000 algorithms built from these blocks, and derive over 100 correct fine-grained algorithms with various space, synchronization, and precision tradeoffs.