Valor: Efficient, software-only region conflict exceptions

Swarnendu Biswas, Minjia Zhang, Michael D. Bond, Brandon Lucia

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Data races complicate programming language semantics, and a data race is often a bug. Existing techniques detect data races and define their semantics by detecting conflicts between synchronization-free regions (SFRs). However, such techniques either modify hardware or slow programs dramatically, preventing always-on use today. This paper describes Valor, a sound, precise, software-only region conflict detection analysis that achieves high performance by eliminating the costly analysis on each read operation that prior approaches require. Valor instead logs a region's reads and lazily detects conflicts for logged reads when the region ends. As a comparison, we have also developed FastRCD, a conflict detector that leverages the epoch optimization strategy of the FastTrack data race detector. We evaluate Valor, FastRCD, and FastTrack, showing that Valor dramatically outperforms FastRCD and FastTrack. Valor is the first region conflict detector to provide strong semantic guarantees for racy program executions with under 2X slowdown. Overall, Valor advances the state of the art in always-on support for strong behavioral guarantees for data races.

Original languageEnglish (US)
Title of host publicationOOPSLA 2015 - Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming Systems, Languages, and Applications
EditorsPatrick Eugster, Jonathan Aldrich
PublisherAssociation for Computing Machinery
Pages241-259
Number of pages19
ISBN (Electronic)9781450336895
DOIs
StatePublished - Oct 2015
Externally publishedYes
Event2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2015 - Pittsburgh, United States
Duration: Oct 25 2015Oct 30 2015

Publication series

NameACM SIGPLAN Notices
PublisherAssociation for Computing Machinery
ISSN (Print)1523-2867

Conference

Conference2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications, OOPSLA 2015
Country/TerritoryUnited States
CityPittsburgh
Period10/25/1510/30/15

Keywords

  • Conflict exceptions
  • Data races
  • Dynamic analysis
  • Region serializability

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Valor: Efficient, software-only region conflict exceptions'. Together they form a unique fingerprint.

Cite this