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
相关论文
共 39 条
  • [21] Internally disjoint trees in the line graph and total graph of the complete bipartite graph
    Zhao, Shu-Li
    Hao, Rong-Xia
    Wei, Chao
    APPLIED MATHEMATICS AND COMPUTATION, 2022, 422
  • [22] Toward a More Complete Understanding of Reactions to Hooking Up Among College Women
    Owen, Jesse
    Quirk, Kelley
    Fincham, Frank
    JOURNAL OF SEX & MARITAL THERAPY, 2014, 40 (05) : 396 - 409
  • [23] A New Line Symmetry Distance Based Automatic Clustering Technique: Application to Image Segmentation
    Saha, Sriparna
    Maulik, Ujjwal
    INTERNATIONAL JOURNAL OF IMAGING SYSTEMS AND TECHNOLOGY, 2011, 21 (01) : 86 - 100
  • [24] Development of a Preventive Maintenance Strategy for an Automatic Production Line Based on Group Maintenance Method
    Li, Guofa
    Li, Yi
    Zhang, Xinge
    Hou, Chao
    He, Jialong
    Xu, Binbin
    Chen, Jinghao
    APPLIED SCIENCES-BASEL, 2018, 8 (10):
  • [25] Reliability of automatic finish line detection for tooth preparation in dental computer-aided software
    Mai, Hang-Nga
    Han, Jung-Suk
    Kim, Hyeong-Seob
    Park, Young-Seok
    Park, Ji-Man
    Lee, Du-Hyeong
    JOURNAL OF PROSTHODONTIC RESEARCH, 2023, 67 (01) : 138 - 143
  • [26] Towards an Automatic On-Line Signature Verifier Using Only One Reference Per Signer
    Diaz, Moises
    Fischer, Andreas
    Plamondon, Rejean
    Ferrer, Miguel A.
    2015 13TH IAPR INTERNATIONAL CONFERENCE ON DOCUMENT ANALYSIS AND RECOGNITION (ICDAR), 2015, : 631 - 635
  • [27] Novel Methods for Divisible Load Distribution with Start-Up Costs on a Complete b-Ary Tree
    Chen, Chi-Yeh
    Chu, Chih-Ping
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2015, 26 (10) : 2836 - 2848
  • [28] Analysis of parameters for the automatic computation of the tear film break- up time testbased on CCLRU standardsL.
    Ramos, L.
    Barreira, N.
    Mosquera, A.
    Penedo, M. G.
    Yebra-Pimentel, E.
    Garcia-Resua, C.
    COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE, 2014, 113 (03) : 715 - 724
  • [29] Automatic Detection of Front-Line Clinician Hospital Shifts: A Novel Use of Electronic Health Record Timestamp Data
    Dziorny, Adam C.
    Orenstein, Evan W.
    Lindell, Robert B.
    Hames, Nicole A.
    Washington, Nicole
    Desai, Bimal
    APPLIED CLINICAL INFORMATICS, 2019, 10 (01): : 28 - 37
  • [30] Scan-Less Line Field Optical Coherence Tomography, with Automatic Image Segmentation, as a Measurement Tool for Automotive Coatings
    Lawman, Samuel
    Williams, Bryan M.
    Zhang, Jinke
    Shen, Yao-Chun
    Zheng, Yalin
    APPLIED SCIENCES-BASEL, 2017, 7 (04):