Hybrid Static–Dynamic Analysis for Statically Bounded Region Serializability
Author(s) -
Aritra Sengupta,
Swarnendu Biswas,
Minjia Zhang,
Michael D. Bond,
Milind Kulkarni
Publication year - 2015
Publication title -
citeseer x (the pennsylvania state university)
Language(s) - English
Resource type - Conference proceedings
ISSN - 0163-5964
DOI - 10.1145/2694344.2694379
Subject(s) - computer science , serializability , atomicity , sequential consistency , static analysis , memory model , compiler , overhead (engineering) , bounded function , c dynamic memory allocation , consistency (knowledge bases) , distributed computing , parallel computing , programming language , consistency model , causal consistency , semantics (computer science) , data consistency , memory management , shared memory , database transaction , transaction processing , overlay , distributed transaction , mathematical analysis , mathematics , artificial intelligence
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 \\emph{EnfoRSer} provides end-to-end support for a memory model called \\emph{statically bounded region serializability} (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.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom