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 条
  • [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] dcSR: Practical Video Quality Enhancement Using Data-Centric Super Resolution
    Baek, Duin
    Dasari, Mallesham
    Das, Samir R.
    Ryoo, Jihoon
    [J]. PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON EMERGING NETWORKING EXPERIMENTS AND TECHNOLOGIES, CONEXT 2021, 2021, : 336 - 343
  • [26] 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
  • [27] 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
  • [28] (Re)Designing Data-Centric Data Centers
    Ranganathan, Parthasarathy
    Chang, Jichuan
    [J]. IEEE MICRO, 2012, 32 (01) : 66 - 70
  • [29] A Data-Centric Approach to Loss Mechanisms
    Senior, Alistair C.
    Miller, Robert J.
    [J]. JOURNAL OF TURBOMACHINERY-TRANSACTIONS OF THE ASME, 2024, 146 (04):
  • [30] Data-Centric Demand Forecasting for Utilities
    Beran, Zdenek
    Marik, Karel
    Stluka, Petr
    [J]. 16TH EUROPEAN SYMPOSIUM ON COMPUTER AIDED PROCESS ENGINEERING AND 9TH INTERNATIONAL SYMPOSIUM ON PROCESS SYSTEMS ENGINEERING, 2006, 21 : 1809 - 1814