AtomiS: Data-Centric Synchronization Made Practical

被引:0
|
作者
Paulino, Herve [1 ,2 ]
Matos, Ana Almeida [3 ,4 ]
Cederquist, Jan [3 ,4 ]
Giunti, Marco [1 ]
Matos, Joao [5 ]
Ravara, Antonio [1 ,2 ]
机构
[1] NOVA Univ Lisbon, Dept Comp Sci, NOVA LINCS, Caparica, Portugal
[2] NOVA Univ Lisbon, FCT NOVA, Caparica, Portugal
[3] Inst Telecomunicacoes, SQIG, Aveiro, Portugal
[4] Univ Lisbon, Dept Comp Sci & Engn & IST, Lisbon, Portugal
[5] Univ Lisbon, Dept Comp Sci, IST, Lisbon, Portugal
来源
关键词
Concurrency; Data-Centric; Programming Model; Inference and Synthesis; INFERENCE;
D O I
10.1145/3622801
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Data-Centric Synchronization (DCS) shifts the reasoning about concurrency restrictions from control structures to data declaration. It is a high-level declarative approach that abstracts away from the actual concurrency control mechanism(s) in use. Despite its advantages, the practical use of DCS is hindered by the fact that it may require many annotations and/or multiple implementations of the same method to cope with differently qualified parameters. To overcome these limitations, in this paper we present AtomiS, a new DCS approach that requires only qualifying types of parameters and return values in interface definitions, and of fields in class definitions. The latter may also be abstracted away in type parameters, rendering class implementations virtually annotationfree. From this high level specification, a static analysis infers the atomicity constraints that are local to each method, considering valid only the method variants that are consistent with the specification, and performs code generation for all valid variants of each method. The generated code is then the target for automatic injection of concurrency control primitives that are responsible for ensuring the absence of data-races, atomicity-violations and deadlocks. We provide a Java implementation and showcase the applicability of AtomiS in real-life code. For the benchmarks analysed, AtomiS requires fewer annotations than the original number of regions requiring locks, as well as fewer annotations than Atomic Sets (a reference DCS proposal).
引用
收藏
页数:30
相关论文
共 50 条
  • [31] Epidemic Forecasting with a Data-Centric Lens
    Rodriguez, Alexander
    Kamarthi, Harshavardhan
    Prakash, B. Aditya
    [J]. PROCEEDINGS OF THE 28TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, KDD 2022, 2022, : 4822 - 4823
  • [32] ExtOS: Data-centric Extensible OS
    Barbalace, Antonio
    Picorel, Javier
    Bhatotia, Pramod
    [J]. APSYS'19: PROCEEDINGS OF THE 10TH ACM SIGOPS ASIA-PACIFIC WORKSHOP ON SYSTEMS, 2019, : 31 - 39
  • [33] Data-centric optical networks and their survivability
    Colle, D
    De Maesschalck, S
    Develder, C
    Van Heuven, P
    Groebbens, A
    Cheyns, J
    Lievens, I
    Pickavet, M
    Lagasse, P
    Demeester, P
    [J]. IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 2002, 20 (01) : 6 - 20
  • [34] Data-centric Reliability Management in GPUs
    Kadam, Gurunath
    Smirni, Evgenia
    Jog, Adwait
    [J]. 51ST ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN 2021), 2021, : 271 - 283
  • [35] Data-centric biology: a philosophical study
    Germain, Pierre-Luc
    [J]. HISTORY AND PHILOSOPHY OF THE LIFE SCIENCES, 2018, 40 (03):
  • [36] Tableaux for Verification of Data-Centric Processes
    Bauer, Andreas
    Baumgartner, Peter
    Diller, Martin
    Norrish, Michael
    [J]. AUTOMATED REASONING WITH ANALYTIC TABLEAUX AND RELATED METHODS (TABLEAUX 2013), 2013, 8123 : 28 - 43
  • [37] Approximate joins for data-centric XML
    Augsten, Nikolaus
    Boehlen, Michael
    Dyreson, Curtis
    Gamper, Johann
    [J]. 2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 814 - +
  • [38] Data-centric iteration in dynamic workflows
    Dias, Jonas
    Guerra, Gabriel
    Rochinha, Fernando
    Coutinho, Alvaro L. G. A.
    Valduriez, Patrick
    Mattoso, Marta
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2015, 46 : 114 - 126
  • [39] On Data-centric Misbehavior Detection in VANETs
    Ruj, Sushmita
    Cavenaghi, Marcos A.
    Huang, Zhen
    Nayak, Amiya
    Stojmenovic, Ivan
    [J]. 2011 IEEE VEHICULAR TECHNOLOGY CONFERENCE (VTC FALL), 2011,
  • [40] Data-centric science for materials innovation
    Tanaka, Isao
    Rajan, Krishna
    Wolverton, Christopher
    [J]. MRS BULLETIN, 2018, 43 (09) : 659 - 663