DocumentCode :
685519
Title :
Data-Race-Freedom of Concurrent Programs
Author :
Barnett, Granville ; Shengchao Qin
Volume :
1
fYear :
2013
fDate :
2-5 Dec. 2013
Firstpage :
272
Lastpage :
279
Abstract :
Reasoning about access isolation in a program that uses locks, transactions or both to coordinate accesses to shared memory is complex and error-prone. The programmer must understand when accesses issued to the same memory by distinct threads, under possibly different coordination semantics, are isolated, otherwise, data races are introduced. We present a program analysis that guarantees a program is data-race-free irrespective of whether locks, transactions or both are used to coordinate accesses to memory. Our framework entails two main steps: (i) a program is statically executed to determine its memory space and the types of accesses it issues to that memory, then (ii) our isolation algorithm checks that the accesses issued by the program do not result in a data race. To the best of our knowledge our work is the first to guarantee the data-race-freedom of concurrent programs that use locks, transactions or both to coordinate accesses to mutable memory.
Keywords :
concurrency control; multiprocessing programs; program diagnostics; access isolation; concurrent programs; coordination semantics; data-race-freedom; isolation algorithm; locks; memory space; mutable memory; program analysis; transactions; Concurrent computing; Instruction sets; Memory management; Programming; Reactive power; Resource management; Semantics; Concurrency; Mutual Exclusion; Programming Languages; Software Transactional Memory; Static Analysis;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2013 20th Asia-Pacific
Conference_Location :
Bangkok
ISSN :
1530-1362
Print_ISBN :
978-1-4799-2143-0
Type :
conf
DOI :
10.1109/APSEC.2013.45
Filename :
6805416
Link To Document :
بازگشت