Title :
Which compiler optimization options should I use for detecting data races in multithreaded programs?
Author :
Changjiang Jia ; Chan, W.K.
Author_Institution :
City Univ. of Hong Kong, Hong Kong, China
Abstract :
Different compiler optimization options may produce different versions of object code. To the best of our knowledge, existing studies on concurrency bug detection in the public literature have not reported the effects of different compiler optimization options on detection effectiveness. This paper reports a preliminary but the first study in the exploratory nature to investigate this aspect. The study examines the happened-before based predictive data race detection scenarios on four benchmarks from the PARSEC 3.0 suite compiled under six different GNU GCC optimization options. We observe from the data set that the same race detection technique may produce different sets of races or different detection probabilities under different optimization scenarios. Based on the observations, we formulate two hypotheses for future investigations.
Keywords :
multi-threading; optimising compilers; program debugging; GNU GCC optimization; PARSEC 3.0 suite; compiler optimization; concurrency bug detection; multithreaded program; object code; predictive data race detection; Benchmark testing; Computer bugs; Concurrent computing; Detectors; Instruction sets; Linux; Optimization; Race detection; compiler optimization option; empirical study; hypothesis formulation;
Conference_Titel :
Automation of Software Test (AST), 2013 8th International Workshop on
Conference_Location :
San Francisco, CA
DOI :
10.1109/IWAST.2013.6595791