Detecting Deadlock in Programs with Data-Centric Synchronization

被引:0
|
作者
Marino, Daniel [1 ]
Hammer, Christian [2 ]
Dolby, Julian [3 ]
Vaziri, Mandana [3 ]
Tip, Frank [4 ]
Vitek, Jan [5 ]
机构
[1] Symantec Res Labs, Culver City, CA 90230 USA
[2] Univ Saarland, Saarbrucken, Germany
[3] IBM Corp, Thomas J Watson Res Ctr, Yorktown Hts, NY USA
[4] Univ Waterloo, Waterloo, ON, Canada
[5] Purdue Univ, W Lafayette, IN USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Previously, we developed a data-centric approach to concurrency control in which programmers specify synchronization constraints declaratively, by grouping shared locations into atomic sets. We implemented our ideas in a Java extension called AJ, using Java locks to implement synchronization. We proved that atomicity violations are prevented by construction, and demonstrated that realistic Java programs can be refactored into AJ without significant loss of performance. This paper presents an algorithm for detecting possible deadlock in AJ programs by ordering the locks associated with atomic sets. In our approach, a type-based static analysis is extended to handle recursive data structures by considering programmer-supplied, compiler-verified lock ordering annotations. In an evaluation of the algorithm, all 10 AJ programs under consideration were shown to be deadlock-free. One program needed 4 ordering annotations and 2 others required minor refactorings. For the remaining 7 programs, no programmer intervention of any kind was required.
引用
收藏
页码:322 / 331
页数:10
相关论文
共 50 条
  • [41] Approximate joins for data-centric XML
    Augsten, Nikolaus
    Boehlen, Michael
    Dyreson, Curtis
    Gamper, Johann
    2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 814 - +
  • [42] Tableaux for Verification of Data-Centric Processes
    Bauer, Andreas
    Baumgartner, Peter
    Diller, Martin
    Norrish, Michael
    AUTOMATED REASONING WITH ANALYTIC TABLEAUX AND RELATED METHODS (TABLEAUX 2013), 2013, 8123 : 28 - 43
  • [43] Data-centric biology: a philosophical study
    Germain, Pierre-Luc
    HISTORY AND PHILOSOPHY OF THE LIFE SCIENCES, 2018, 40 (03):
  • [44] A data-centric security analysis of ICGrid
    Luna, Jesus
    Flouris, Michail
    Marazakis, Manolis
    Bilas, Angelos
    GRID COMPUTING: ACHIEVEMENTS AND PROSPECTS, 2008, : 197 - 208
  • [45] Interactive Data-Centric Viewpoint Selection
    Kim, Han Suk
    Unat, Didem
    Baden, Scott B.
    Schulze, Juergen P.
    VISUALIZATION AND DATA ANALYSIS 2012, 2012, 8294
  • [46] Making data-centric projects a reality
    Bailie, Bruce
    Talakar, Arja
    Hydrocarbon Engineering, 2022, 27 (01): : 57 - 60
  • [47] The role of statistics in data-centric engineering
    Lau, F. Din-Houn
    Adams, Niall M.
    Girolami, Mark A.
    Butler, Liam J.
    Elshafie, Mohammed Z. E. B.
    STATISTICS & PROBABILITY LETTERS, 2018, 136 : 58 - 62
  • [48] A DATA-CENTRIC APPROACH TO LOSS MECHANISMS
    Senior, Alistair C.
    Miller, Robert J.
    PROCEEDINGS OF ASME TURBO EXPO 2023: TURBOMACHINERY TECHNICAL CONFERENCE AND EXPOSITION, GT2023, VOL 13A, 2023,
  • [49] Data-centric biology: a philosophical study
    Calvert, Jane
    NEW GENETICS AND SOCIETY, 2018, 37 (03) : 275 - 277
  • [50] Data-centric AI: Perspectives and Challenges
    Zha, Daochen
    Bhat, Zaid Pervaiz
    Lai, Kwei-Herng
    Yang, Fan
    Hu, Xia
    PROCEEDINGS OF THE 2023 SIAM INTERNATIONAL CONFERENCE ON DATA MINING, SDM, 2023, : 945 - 948