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 条
  • [31] A Data-Centric Approach to Loss Mechanisms
    Senior, Alistair C.
    Miller, Robert J.
    JOURNAL OF TURBOMACHINERY-TRANSACTIONS OF THE ASME, 2024, 146 (04):
  • [32] ExtOS: Data-centric Extensible OS
    Barbalace, Antonio
    Picorel, Javier
    Bhatotia, Pramod
    APSYS'19: PROCEEDINGS OF THE 10TH ACM SIGOPS ASIA-PACIFIC WORKSHOP ON SYSTEMS, 2019, : 31 - 39
  • [33] Data-Centric Demand Forecasting for Utilities
    Beran, Zdenek
    Marik, Karel
    Stluka, Petr
    16TH EUROPEAN SYMPOSIUM ON COMPUTER AIDED PROCESS ENGINEERING AND 9TH INTERNATIONAL SYMPOSIUM ON PROCESS SYSTEMS ENGINEERING, 2006, 21 : 1809 - 1814
  • [34] Epidemic Forecasting with a Data-Centric Lens
    Rodriguez, Alexander
    Kamarthi, Harshavardhan
    Prakash, B. Aditya
    PROCEEDINGS OF THE 28TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, KDD 2022, 2022, : 4822 - 4823
  • [35] Data-centric science for materials innovation
    Tanaka, Isao
    Rajan, Krishna
    Wolverton, Christopher
    MRS BULLETIN, 2018, 43 (09) : 659 - 663
  • [36] On Data-centric Misbehavior Detection in VANETs
    Ruj, Sushmita
    Cavenaghi, Marcos A.
    Huang, Zhen
    Nayak, Amiya
    Stojmenovic, Ivan
    2011 IEEE VEHICULAR TECHNOLOGY CONFERENCE (VTC FALL), 2011,
  • [37] Data-Centric Transformations for Locality Enhancement
    Induprakas Kodukula
    Keshav Pingali
    International Journal of Parallel Programming, 2001, 29 : 319 - 364
  • [38] A Data-Centric Approach to Change Management
    Nwokeji, Joshua Chibuike
    Clark, Tony
    Barn, Balbir
    Kulkarni, Vinay
    Anum, Sheena O.
    PROCEEDINGS OF THE 2015 IEEE 19TH INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE, 2015, : 185 - 190
  • [39] Data-centric iteration in dynamic workflows
    Dias, Jonas
    Guerra, Gabriel
    Rochinha, Fernando
    Coutinho, Alvaro L. G. A.
    Valduriez, Patrick
    Mattoso, Marta
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2015, 46 : 114 - 126
  • [40] Data-centric Reliability Management in GPUs
    Kadam, Gurunath
    Smirni, Evgenia
    Jog, Adwait
    51ST ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN 2021), 2021, : 271 - 283