A Method for Predicting Two-variable Atomicity Violations

被引:4
|
作者
Sun, Zhuo [1 ]
Zeng, Reng [2 ]
He, Xudong [1 ]
机构
[1] Florida Int Univ, Miami, FL 33199 USA
[2] Citrix Syst Inc, Ft Lauderdale, FL 33309 USA
关键词
atomicity violation; model checking; multi-threaded programs; multiple variable correlations; ARCHITECTURAL SUPPORT;
D O I
10.1109/QRS.2018.00024
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As the most common non-deadlock concurrency bugs, atomicity violations are extremely hard to detect during testing since the exhaustive testing of a multi-threaded program is impossible because of the large number of interleavings. The studies in recent years have mainly focused on single-variable atomicity violation. However, those methods are unable to predict or find atomicity violations with multiple variables involved. Many variables are inherently correlated and need to be accessed together with their correlated peers in a consistent manner. These variables need to be either updated together consistently or accessed together to avoid inconsistent update or reading. This paper presents a method for predicting two-variable atomicity violation, based on access correlation between variables and atomicity violation pattern of variable accesses, including algorithms to infer access correlation between variables and to predict atomicity violation using model checking. The effectiveness of our method is evaluated with several real-world systems.
引用
收藏
页码:103 / 110
页数:8
相关论文
共 50 条
  • [1] The Complexity of Predicting Atomicity Violations
    Farzan, Azadeh
    Madhusudan, P.
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2009, 5505 : 155 - +
  • [2] A note on the two-variable expansion method
    Hu, H.
    Zheng, M. Y.
    ACTA MECHANICA, 2011, 216 (1-4) : 351 - 357
  • [3] A note on the two-variable expansion method
    H. Hu
    M. Y. Zheng
    Acta Mechanica, 2011, 216 : 351 - 357
  • [4] On two-variable means with variable weights
    Daróczy Z.
    Maksa G.
    Páles Z.
    Aequationes mathematicae, 2004, 67 (1-2) : 154 - 159
  • [5] Two-variable word equations
    Ilie, L
    Plandowski, W
    RAIRO-INFORMATIQUE THEORIQUE ET APPLICATIONS-THEORETICAL INFORMATICS AND APPLICATIONS, 2000, 34 (06): : 467 - 501
  • [6] Two-variable descriptions of regularity
    RWTH Aachen, Aachen, Germany
    Proc Symp Logic Comput Sci, (14-23):
  • [7] A Two-Variable Fragment of English
    Ian Pratt-Hartmann
    Journal of Logic, Language and Information, 2003, 12 (1) : 13 - 45
  • [8] Two-variable word equations
    Ilie, L
    Plandowski, W
    STACS 2000: 17TH ANNUAL SYMPOSIUM ON THEORETICAL ASPECT OF COMPUTER SCIENCE, 2000, 1770 : 122 - 132
  • [9] The Two-Variable Situation Calculus
    Gu, Yilan
    Soutchanski, Mikhail
    STAIRS 2006, 2006, 142 : 144 - +
  • [10] A two-variable Artin conjecture
    Moree, P
    Stevenhagen, P
    JOURNAL OF NUMBER THEORY, 2000, 85 (02) : 291 - 304