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 条
[11]   Ownership types for object encapsulation [J].
Boyapati, C ;
Liskov, B ;
Shrira, L .
ACM SIGPLAN NOTICES, 2003, 38 (01) :213-223
[12]   Structural characterization of colonic cell types and correlation with specific functions [J].
Colony, PC .
DIGESTIVE DISEASES AND SCIENCES, 1996, 41 (01) :88-104
[13]   Dynamic inference of polymorphic lock types [J].
Rose, J ;
Swamy, N ;
Hicks, M .
SCIENCE OF COMPUTER PROGRAMMING, 2005, 58 (03) :366-383
[14]   A PHYSIOLOGICAL AND STRUCTURAL STUDY OF NEURON TYPES IN THE COCHLEAR NUCLEUS .2. NEURON TYPES AND THEIR STRUCTURAL CORRELATION WITH RESPONSE PROPERTIES [J].
OSTAPOFF, EM ;
FENG, JJ ;
MOREST, DK .
JOURNAL OF COMPARATIVE NEUROLOGY, 1994, 346 (01) :19-42
[15]   House lock and structural unemployment [J].
Valletta, Robert G. .
LABOUR ECONOMICS, 2013, 25 :86-97
[16]   Borrowable Fractional Ownership Types for Verification [J].
Nakayama, Takashi ;
Matsushita, Yusuke ;
Sakayori, Ken ;
Sato, Ryosuke ;
Kobayashi, Naoki .
VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, VMCAI 2024, PT II, 2024, 14500 :224-246
[17]   Encoding Ownership Types in Java']Java [J].
Cameron, Nicholas ;
Noble, James .
OBJECTS, MODELS, COMPONENTS, PATTERNS, 2010, 6141 :271-290
[18]   A fundamental permission interpretation for ownership types [J].
Zhao, Yang ;
Boyland, John .
TASE 2008: SECOND IFIP/IEEE INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2008, :65-+
[19]   Ownership types for flexible alias protection [J].
Clarke, DG ;
Potter, JM ;
Noble, J .
ACM SIGPLAN NOTICES, 1998, 33 (10) :48-64
[20]   Home ownership, income and types of dwellings [J].
Conant, Luther .
AMERICAN ECONOMIC REVIEW, 1933, 23 (03) :546-546