Skip to main navigation Skip to search Skip to main content

A Hardware Approach to Detect, Expose and Tolerate High Level Data Races

Lois Orosa, Joao Lourenco

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Concurrenst programs are more complex and error prone than their sequential peers, and are much harder to debug as well. High level data races (HLDR) are one of the concurrency bugs most difficult to debug. They are a class of concurrency errors that are not commonly addressed by the testing and debugging techniques and tools. HLDR result from the misdefinition of the scope of an atomic block, which should be unique but was wrongly split into two or more independent atomic blocks. Interleavings involving these misdefined atomic blocks may violate the program correctness invariants and cause the concurrent program to fail. In this work we propose a hardware module to detect, expose and tolerate HLDR in concurrent programs, with applications in both the software testing and debugging and the software deployment phases. In the detecting mode, our proposal detects HLDR with few false positives and without the overhead and intrusion of other dynamic software approaches. In the exposing mode, it «stimulates» the program to expose existing latent HLDR and trigger hidden HLDRs. Finally, in the tolerating mode, it may act as a software healing technique by inhibiting certain buggy interleavings. The results shows a reasonable performance overhead and few false positives in all modes.

Original languageEnglish
Title of host publicationProceedings - 24th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2016
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Pages159-167
Number of pages9
ISBN (Electronic) 978-146738775-0
DOIs
Publication statusPublished - 31 Mar 2016
Event24th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2016 - Heraklion, Crete, Greece
Duration: 17 Feb 2016 → 19 Feb 2016

Publication series

NameEuromicro Conference on Parallel Distributed and Network-Based Processing
PublisherIEEE
ISSN (Electronic)1066-6192

Conference

Conference24th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2016
Country/TerritoryGreece
CityHeraklion, Crete
Period17/02/16 → 19/02/16

Keywords

  • Bloom filters
  • Concurrency
  • Data races
  • Debugging
  • Testing

Fingerprint

Dive into the research topics of 'A Hardware Approach to Detect, Expose and Tolerate High Level Data Races'. Together they form a unique fingerprint.

Cite this