Line-Up: A Complete and Automatic Linearizability Checker

被引:20
|
作者
Burckhardt, Sebastian
Dern, Chris
Musuvathi, Madanlal
Tan, Roy
机构
关键词
Algorithms; Reliability; Verification; Linearizability; Atomicity; Thread Safety;
D O I
10.1145/1809028.1806634
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Modular development of concurrent applications requires thread-safe components that behave correctly when called concurrently by multiple client threads. This paper focuses on linearizability, a specific formalization of thread safety, where all operations of a concurrent component appear to take effect instantaneously at some point between their call and return. The key insight of this paper is that if a component is intended to be deterministic, then it is possible to build an automatic linearizability checker by systematically enumerating the sequential behaviors of the component and then checking if each its concurrent behavior is equivalent to some sequential behavior. We develop this insight into a tool called Line-Up, the first complete and automatic checker for deterministic linearizability. It is complete, because any reported violation proves that the implementation is not linearizable with respect to any sequential deterministic specification. It is automatic, requiring no manual abstraction, no manual specification of semantics or commit points, no manually written test suites, no access to source code. We evaluate Line-Up by analyzing 13 classes with a total of 90 methods in two versions of the. NET Framework 4.0. The violations of deterministic linearizability reported by Line-Up exposed seven errors in the implementation that were fixed by the development team.
引用
收藏
页码:330 / 340
页数:11
相关论文
共 50 条
  • [21] An expert implantology speaker line-up
    不详
    BRITISH DENTAL JOURNAL, 2019, 227 (05) : 428 - 428
  • [22] DETERMINANTS OF EYEWITNESS PERFORMANCE ON A LINE-UP
    BUCKHOUT, R
    ALPER, A
    CHERN, S
    SILVERBE.G
    SLOMOVIT.M
    BULLETIN OF THE PSYCHONOMIC SOCIETY, 1974, 4 (03) : 191 - 192
  • [23] Molecular wires line-up for magnetoresistance
    Sealy, Cordelia
    NANO TODAY, 2013, 8 (05) : 452 - 453
  • [24] New SL materials line-up
    不详
    ADVANCED ENGINEERING MATERIALS, 2005, 7 (05) : 277 - 277
  • [25] BIG BALERS - CURRENT LINE-UP
    STEELE, P
    NEW ZEALAND JOURNAL OF AGRICULTURE, 1979, 139 (05): : 29 - &
  • [26] A speaker line-up for the Likelihood Ratio
    van Leeuwen, David A.
    Bruemmer, Niko
    12TH ANNUAL CONFERENCE OF THE INTERNATIONAL SPEECH COMMUNICATION ASSOCIATION 2011 (INTERSPEECH 2011), VOLS 1-5, 2011, : 508 - +
  • [27] The effect of evidence type, identification accuracy, line-up presentation, and line-up administration on observers' perceptions of eyewitnesses
    Beaudry, Jennifer L.
    Lindsay, Roderick C. L.
    Leach, Amy-May
    Mansour, Jamal K.
    Bertrand, Michelle I.
    Kalmet, Natalie
    LEGAL AND CRIMINOLOGICAL PSYCHOLOGY, 2015, 20 (02) : 343 - 364
  • [28] Lines from afar - and a new line-up
    Man, Virman
    INTERNATIONAL REVIEW OF EDUCATION, 2010, 56 (5-6) : 513 - 515
  • [29] LIVELY LINE-UP FOR INDIANAPOLIS SPOUSES PROGRAM
    BRALOWER, PM
    DIE CASTING ENGINEER, 1995, 39 (03): : 30 - 33
  • [30] LINE-UP AT TIEN AN MEN ON MAY 1
    CHANG, CP
    ISSUES & STUDIES, 1970, 6 (09): : 10 - 12