Structural Lock Correlation with Ownership Types

被引:0
作者
Lu, Yi [1 ]
Potter, John [1 ]
Xue, Jingling [1 ]
机构
[1] Univ New S Wales, Sch Comp Sci & Engn, Programming Languages & Compilers Grp, Sydney, NSW 2052, Australia
来源
PROGRAMMING LANGUAGES AND SYSTEMS | 2013年 / 7792卷
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Concurrent object-oriented programming languages coordinate conflicting memory accesses through locking, which relies on programmer discipline and suffers from a lack of modularity and compile-time support. Programmers typically work with large libraries of code whose locking behaviours are not formally and precisely specified; thus understanding and writing concurrent programs is notoriously difficult and error-prone. This paper proposes structural lock correlation, a new model for establishing structural connections between locks and the memory locations they protect, in an ownership-based type and effect system. Structural lock correlation enables modular specification of locking. It offers a compiler-checkable lock abstraction with an enforceable contract at interface boundaries, leading to improved safety, understandability and composability of concurrent program components.
引用
收藏
页码:391 / 410
页数:20
相关论文
共 50 条
[21]   Implicit ownership types for memory management [J].
Zhao, Tian ;
Baker, Jason ;
Hunt, James ;
Noble, James ;
Vitek, Jan .
SCIENCE OF COMPUTER PROGRAMMING, 2008, 71 (03) :213-241
[22]   Diversity in Online News: On the importance of ownership types and media system types [J].
Humprecht, Edda ;
Esser, Frank .
JOURNALISM STUDIES, 2018, 19 (12) :1825-1847
[23]   Ownership structure and audit quality: An empirical analysis considering ownership types in Jordan [J].
Alhababsah, Salem .
JOURNAL OF INTERNATIONAL ACCOUNTING AUDITING AND TAXATION, 2019, 35 :71-84
[24]   STRUCTURAL INFLATION LOCK AND ECONOMIC DEVELOPMENT [J].
GEORGESCUROEGEN, N .
REVISTA BRASILEIRA DE ECONOMIA, 1968, 22 (01) :5-14
[25]   THE CONFORMATIONAL LOCK IN STRUCTURAL ORGANIZATION OF PROTEINS [J].
POLTORAK, OM ;
CHUKHRAI, ES .
VESTNIK MOSKOVSKOGO UNIVERSITETA SERIYA 2 KHIMIYA, 1986, 27 (03) :237-243
[26]   A Grounded Conceptual Model for Ownership Types in Rust [J].
Crichton, Will ;
Gray, Gavin ;
Krishnamurthi, Shriram .
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA) :1224-1252
[27]   Carbon Lock-In: Types, Causes, and Policy Implications [J].
Seto, Karen C. ;
Davis, Steven J. ;
Mitchell, Ronald B. ;
Stokes, Eleanor C. ;
Unruh, Gregory ;
Urge-Vorsatz, Diana .
ANNUAL REVIEW OF ENVIRONMENT AND RESOURCES, VOL 41, 2016, 41 :425-452
[28]   From Lock Freedom to Progress Using Session Types [J].
Padovani, Luca .
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (137) :3-19
[29]   Large shareholder ownership types and board governance [J].
Ho, Joanna ;
Huang, Cheng Jen ;
Karuna, Christo .
JOURNAL OF CORPORATE FINANCE, 2020, 65
[30]   PHASE LOCK FOR CORRELATION DETECTION OF A PERIODIC PULSE [J].
KIRLIN, RL .
IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, 1971, BM18 (06) :424-&