Bounding the number of segment histories during data race detection

  • Authors:
  • Mark Christiaens;Michiel Ronsse;Koen De Bosschere

  • Affiliations:
  • Vakgroep Elektronica en Informatiesysteme, Ghent University, Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium;Vakgroep Elektronica en Informatiesysteme, Ghent University, Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium;Vakgroep Elektronica en Informatiesysteme, Ghent University, Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium

  • Venue:
  • Parallel Computing
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this article we present a technique for reducing the memory overhead while performing data race detection. Data races occur when multiple threads modify the same memory location without proper synchronization. In order to detect data races, we need to check all read and write operations performed by the threads. We describe a method for efficiently storing these read and write operations called "merging of segment histories". This method improves upon known techniques by ensuring an upper limit to the amount of memory consumed for storing the read and write operations while maintaining the full accuracy of the data race detection. The method has been implemented in an existing data race detection tool called RecPlay for Solaris binaries. We show that it enables us to perform data race detection on benchmarks which were previously beyond our grasp.