Accordion Clocks: Logical Clocks for Data Race Detection

  • Authors:
  • Mark Christiaens;Koenraad De Bosschere

  • Affiliations:
  • -;-

  • Venue:
  • Euro-Par '01 Proceedings of the 7th International Euro-Par Conference Manchester on Parallel Processing
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Events of a parallel program are no longer strictly ordered as in sequential programs but are partially ordered. Vector clocks can be used to model this partial order but have the major drawback that their size is proportional to the total number of threads running in the program. In this article, we present a new technique called 'accordion clocks' which replaces vector clocks for the specific application of data race detection. Accordion clocks have the ability to reflect only the partial order that is relevant to data race detection. We have implemented accordion clocks in a Java virtual machine and show through a set of benchmarks that their memory requirements are substantially lower than for vector clocks.