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] Data-centric science for materials innovation
    Tanaka, Isao
    Rajan, Krishna
    Wolverton, Christopher
    [J]. MRS BULLETIN, 2018, 43 (09) : 659 - 663
  • [42] A Data-Centric Approach to Change Management
    Nwokeji, Joshua Chibuike
    Clark, Tony
    Barn, Balbir
    Kulkarni, Vinay
    Anum, Sheena O.
    [J]. PROCEEDINGS OF THE 2015 IEEE 19TH INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE, 2015, : 185 - 190
  • [43] Data-Centric Transformations for Locality Enhancement
    Induprakas Kodukula
    Keshav Pingali
    [J]. International Journal of Parallel Programming, 2001, 29 : 319 - 364
  • [44] Interactive Data-Centric Viewpoint Selection
    Kim, Han Suk
    Unat, Didem
    Baden, Scott B.
    Schulze, Juergen P.
    [J]. VISUALIZATION AND DATA ANALYSIS 2012, 2012, 8294
  • [45] A data-centric security analysis of ICGrid
    Luna, Jesus
    Flouris, Michail
    Marazakis, Manolis
    Bilas, Angelos
    [J]. GRID COMPUTING: ACHIEVEMENTS AND PROSPECTS, 2008, : 197 - 208
  • [46] Making data-centric projects a reality
    Bailie, Bruce
    Talakar, Arja
    [J]. Hydrocarbon Engineering, 2022, 27 (01): : 57 - 60
  • [47] Demystifying Data-Centric Web Services
    Saleh, Iman
    Kulczycki, Gregory
    Blake, M. Brian
    [J]. IEEE INTERNET COMPUTING, 2009, 13 (05) : 86 - 90
  • [48] Roadmap on data-centric materials science
    Bauer, Stefan
    Benner, Peter
    Bereau, Tristan
    Blum, Volker
    Boley, Mario
    Carbogno, Christian
    Catlow, C. Richard A.
    Dehm, Gerhard
    Eibl, Sebastian
    Ernstorfer, Ralph
    Fekete, Adam
    Foppa, Lucas
    Fratzl, Peter
    Freysoldt, Christoph
    Gault, Baptiste
    Ghiringhelli, Luca M.
    Giri, Sajal K.
    Gladyshev, Anton
    Goyal, Pawan
    Hattrick-Simpers, Jason
    Kabalan, Lara
    Karpov, Petr
    Khorrami, Mohammad S.
    Koch, Christoph T.
    Kokott, Sebastian
    Kosch, Thomas
    Kowalec, Igor
    Kremer, Kurt
    Leitherer, Andreas
    Li, Yue
    Liebscher, Christian H.
    Logsdail, Andrew J.
    Lu, Zhongwei
    Luong, Felix
    Marek, Andreas
    Merz, Florian
    Mianroodi, Jaber R.
    Neugebauer, Joerg
    Pei, Zongrui
    Purcell, Thomas A. R.
    Raabe, Dierk
    Rampp, Markus
    Rossi, Mariana
    Rost, Jan-Michael
    Saal, James
    Saalmann, Ulf
    Sasidhar, Kasturi Narasimha
    Saxena, Alaukik
    Sbailo, Luigi
    Scheidgen, Markus
    [J]. MODELLING AND SIMULATION IN MATERIALS SCIENCE AND ENGINEERING, 2024, 32 (06)
  • [49] 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.
    [J]. STATISTICS & PROBABILITY LETTERS, 2018, 136 : 58 - 62
  • [50] Data-centric biology: a philosophical study
    Calvert, Jane
    [J]. NEW GENETICS AND SOCIETY, 2018, 37 (03) : 275 - 277