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
    Zhao, Tian
    Baker, Jason
    Hunt, James
    Noble, James
    Vitek, Jan
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2008, 71 (03) : 213 - 241
  • [22] Diversity in Online News: On the importance of ownership types and media system types
    Humprecht, Edda
    Esser, Frank
    [J]. JOURNALISM STUDIES, 2018, 19 (12) : 1825 - 1847
  • [23] Ownership structure and audit quality: An empirical analysis considering ownership types in Jordan
    Alhababsah, Salem
    [J]. JOURNAL OF INTERNATIONAL ACCOUNTING AUDITING AND TAXATION, 2019, 35 : 71 - 84
  • [24] STRUCTURAL INFLATION LOCK AND ECONOMIC DEVELOPMENT
    GEORGESCUROEGEN, N
    [J]. REVISTA BRASILEIRA DE ECONOMIA, 1968, 22 (01) : 5 - 14
  • [25] THE CONFORMATIONAL LOCK IN STRUCTURAL ORGANIZATION OF PROTEINS
    POLTORAK, OM
    CHUKHRAI, ES
    [J]. VESTNIK MOSKOVSKOGO UNIVERSITETA SERIYA 2 KHIMIYA, 1986, 27 (03): : 237 - 243
  • [26] A Grounded Conceptual Model for Ownership Types in Rust
    Crichton, Will
    Gray, Gavin
    Krishnamurthi, Shriram
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA): : 1224 - 1252
  • [27] Carbon Lock-In: Types, Causes, and Policy Implications
    Seto, Karen C.
    Davis, Steven J.
    Mitchell, Ronald B.
    Stokes, Eleanor C.
    Unruh, Gregory
    Urge-Vorsatz, Diana
    [J]. ANNUAL REVIEW OF ENVIRONMENT AND RESOURCES, VOL 41, 2016, 41 : 425 - 452
  • [28] From Lock Freedom to Progress Using Session Types
    Padovani, Luca
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (137): : 3 - 19
  • [30] Large shareholder ownership types and board governance
    Ho, Joanna
    Huang, Cheng Jen
    Karuna, Christo
    [J]. JOURNAL OF CORPORATE FINANCE, 2020, 65