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 条
  • [21] Data-Centric Interactions on the Web
    Diaz, Paloma
    Hussein, Tim
    Lohmann, Steffen
    Ziegler, Juergen
    [J]. HUMAN-COMPUTER INTERACTION - INTERACT 2011, PT IV, 2011, 6949 : 726 - 727
  • [22] Data-Centric Intelligent Computing
    Shen, Jun
    Hung, Chih-Cheng
    Beydoun, Ghassan
    Li, Yan
    Guo, William
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2018, 11 (01) : 616 - 617
  • [23] Gaspar Data-Centric Framework
    Silva, Rui
    Sobral, J. L.
    [J]. HIGH PERFORMANCE COMPUTING FOR COMPUTATIONAL SCIENCE - VECPAR 2016, 2017, 10150 : 234 - 247
  • [24] Data-centric storage in sensornets
    Shenker, S
    Ratnasamy, S
    Karp, B
    Govindan, R
    Estrin, D
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2003, 33 (01) : 137 - 142
  • [25] MODESTO: Data-centric Analytic Optimization of Complex Stencil Programs on Heterogeneous Architectures
    Gysi, Tobias
    Grosser, Tobias
    Hoefler, Torsten
    [J]. PROCEEDINGS OF THE 29TH ACM INTERNATIONAL CONFERENCE ON SUPERCOMPUTING (ICS'15), 2015, : 177 - 186
  • [26] ChplBlamer: A Data-centric and Code-centric Combined Profiler for Multi-locale Chapel Programs
    Zhang, Hui
    Hollingsworth, Jeffrey K.
    [J]. INTERNATIONAL CONFERENCE ON SUPERCOMPUTING (ICS 2018), 2018, : 252 - 262
  • [27] A new design for data-centric Ethernet communication with tight synchronization requirements for automated vehicles
    Gemlau, Kai-Bjorn
    Peeck, Jonas
    Sperling, Nora
    Hertha, Phil
    Ernst, Rolf
    [J]. 45TH ANNUAL CONFERENCE OF THE IEEE INDUSTRIAL ELECTRONICS SOCIETY (IECON 2019), 2019, : 4489 - 4494
  • [28] Bridging Control-Centric and Data-Centric Optimization
    Ben-Nun, Tal
    Ates, Berke
    Calotoiu, Alexandru
    Hoefler, Torsten
    [J]. PROCEEDINGS OF THE 21ST ACM/IEEE INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, CGO 2023, 2023, : 173 - 185
  • [29] (Re)Designing Data-Centric Data Centers
    Ranganathan, Parthasarathy
    Chang, Jichuan
    [J]. IEEE MICRO, 2012, 32 (01) : 66 - 70
  • [30] A Data-Centric Approach to Loss Mechanisms
    Senior, Alistair C.
    Miller, Robert J.
    [J]. JOURNAL OF TURBOMACHINERY-TRANSACTIONS OF THE ASME, 2024, 146 (04):