Hybrid static-dynamic analysis for statically bounded region serializability

Aritra Sengupta, Swarnendu Biswas, Minjia Zhang, Michael D. Bond, Milind Kulkarni

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

Abstract

Data races are common. They are difficult to detect, avoid, or eliminate, and programmers sometimes introduce them intentionally. However, shared-memory programs with data races have unexpected, erroneous behaviors. Intentional and unintentional data races lead to atomicity and sequential consistency (SC) violations, and they make it more difficult to understand, test, and verify software. Existing approaches for providing stronger guarantees for racy executions add high run-time overhead and/or rely on custom hardware. This paper shows how to provide stronger semantics for racy programs while providing relatively good performance on commodity systems. A novel hybrid static-dynamic analysis called EnfoRSer provides end-to-end support for a memory model called statically bounded region serializ ability (SBRS) that is not only stronger than weak memory models but is strictly stronger than SC. EnfoRSer uses static compiler analysis to transform regions, and dynamic analysis to detect and resolve conflicts at run time. By demonstrating commodity support for a reasonably strong memory model with reasonable overheads, we show its potential as an always-on execution model.

Original languageEnglish (US)
Title of host publicationASPLOS 2015 - 20th International Conference on Architectural Support for Programming Languages and Operating Systems
PublisherAssociation for Computing Machinery
Pages561-575
Number of pages15
ISBN (Electronic)9781450328357
DOIs
StatePublished - Apr 2015
Externally publishedYes
Event20th International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS 2015 - Istanbul, Turkey
Duration: Mar 14 2015Mar 18 2015

Publication series

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

Other

Other20th International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS 2015
Country/TerritoryTurkey
CityIstanbul
Period3/14/153/18/15

Keywords

  • Atomicity
  • Dynamic analysis
  • Memory models
  • Region serializability
  • Static analysis
  • Synchronization

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Hybrid static-dynamic analysis for statically bounded region serializability'. Together they form a unique fingerprint.

Cite this