Efficient predictive analysis for detecting nondeterminism in multi-threaded programs
Author(s): Sinha, Arnab; Malik, Sharad; Gupta, Aarti
DownloadTo refer to this page use:
http://arks.princeton.edu/ark:/88435/pr1nk0q
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Sinha, Arnab | - |
dc.contributor.author | Malik, Sharad | - |
dc.contributor.author | Gupta, Aarti | - |
dc.date.accessioned | 2021-10-08T19:46:37Z | - |
dc.date.available | 2021-10-08T19:46:37Z | - |
dc.date.issued | 2012 | en_US |
dc.identifier.citation | Sinha, Arnab, Sharad Malik, and Aarti Gupta. "Efficient predictive analysis for detecting nondeterminism in multi-threaded programs." In Formal Methods in Computer-Aided Design (FMCAD) (2012): pp. 6-15. | en_US |
dc.identifier.uri | https://ieeexplore.ieee.org/abstract/document/6462550/ | - |
dc.identifier.uri | http://www.princeton.edu/~carch/sinha/SinhaFmcad12.pdf | - |
dc.identifier.uri | http://arks.princeton.edu/ark:/88435/pr1nk0q | - |
dc.description.abstract | Determinism is often a desired property in multithreaded programs. A multi-threaded program is said to be deterministic if for a given input, different thread interleavings result in the same system state in the execution of the program. This, in turn, requires that different interleavings preserve the values read by each read operation. A related, but less strict condition is for the program to be race-free. A deterministic program is race-free but the converse may not be true. There is much work done in the static analysis of programs to detect races and nondeterminism. However, this can be expensive and may not complete for large programs in reasonable time. In contrast to static analysis, predictive analysis techniques take a given program trace and explore other possible interleavings that may violate a given property - in this case the property of interest is determinism. Predictive analysis can be sound, but is not complete as it is limited to a specific set of program runs. Nonetheless, it is of interest as it offers greater scalability than static analysis. This work presents a predictive analysis method for detecting nondeterminism in multi-threaded programs. Potential cases of nondeterminism are checked by constructing a causality graph from the thread events and confirming that it is acyclic. On average, the number of graphs analyzed per benchamrk is one per potential case of nondeterminism, thereby ensuring that it is efficient. We demonstrate its application on some benchmark Java and C/C++ programs. | en_US |
dc.format.extent | 6 - 15 | en_US |
dc.language.iso | en_US | en_US |
dc.relation.ispartof | Formal Methods in Computer-Aided Design (FMCAD) | en_US |
dc.rights | Author's manuscript | en_US |
dc.title | Efficient predictive analysis for detecting nondeterminism in multi-threaded programs | en_US |
dc.type | Conference Article | en_US |
pu.type.symplectic | http://www.symplectic.co.uk/publications/atom-terms/1.0/conference-proceeding | en_US |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
DetectNondeterminismMultiThreadPrograms.pdf | 1.02 MB | Adobe PDF | View/Download |
Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.