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 条
  • [31] Bell equipment announce line-up for success
    2001, Tradelink Publications Ltd. (249):
  • [32] Great Line-up, But I Want More
    Bacharach, William H.
    AMERICAN HERITAGE, 2010, 60 (01) : 8 - 8
  • [33] Arranging a voice line-up in a foreign language
    Broeders, APA
    Cambier-Langeveld, T
    Vermeulen, J
    FORENSIC LINGUISTICS-THE INTERNATIONAL JOURNAL OF SPEECH LANGUAGE AND THE LAW, 2002, 9 (01): : 104 - 112
  • [34] TOSHIBAS NEW MICROWAVE OVEN LINE-UP
    TAKEDA, S
    OBINATA, S
    ASANUMA, K
    TOSHIBA REVIEW, 1976, (106): : 11 - 13
  • [35] Lines from afar – and a new line-up
    Virman Man
    International Review of Education, 2010, 56 (5-6) : 513 - 515
  • [36] Nanocube line-up affects optical properties
    Sealy, Cordelia
    NANO TODAY, 2018, 18 : 1 - 2
  • [37] Oligomers of α-synuclein: picking the culprit in the line-up
    Lorenzen, Nikolai
    Otzen, Daniel E.
    AMYLOIDS IN HEALTH AND DISEASE, 2014, 56 : 137 - 148
  • [38] THE SUN RISES ON ICIS NEW LINE-UP
    HEATHCOTE, M
    EUROPEAN CHEMICAL NEWS, 1994, 61 (1625): : 20 - 20
  • [39] An honourable discharge for line-up fairness measurement
    Levi, AM
    APPLIED COGNITIVE PSYCHOLOGY, 1999, 13 : S121 - S124
  • [40] HAVER & BOECKER expands its line-up
    不详
    ZKG INTERNATIONAL, 2012, 65 (07): : 10 - 10