Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
Checking Concurrent Typestate with Access Permissions in Plural: A Retrospective
 

Summary: Checking Concurrent Typestate with Access
Permissions in Plural: A Retrospective
Kevin Bierhoff, Nels E. Beckman, and Jonathan Aldrich
Abstract Objects often define usage protocols that clients must follow in order for
these objects to work properly. In the presence of aliasing, however, it is difficult
to check whether all the aliases of an object properly coordinate to enforce the pro-
tocol. Plural is a type-based system that can soundly enforce challenging protocols
even in concurrent programs. In this paper, we discuss how Plural supports natural
idioms for reasoning about programs, leveraging access permissions that express
the programmer's design intent within the code. We trace the predecessors of the
design intent idioms used in Plural, discuss how we have found different forms of
design intent to be complimentary, and outline remaining challenges and directions
for future work in the area.
1 Introduction
Many libraries and components define usage protocols: constraints on the order in
which clients may invoke their operations. For example, in Java one must first call
connect on a Socket, after which data may be read or written to the socket.
Once close is called, reading and writing is no longer permitted.
A recent corpus study of protocols in Java libraries showed that protocol defi-
nition is relatively common (in about 7% of types) and protocol use even more so

  

Source: Aldrich, Jonathan - School of Computer Science, Carnegie Mellon University

 

Collections: Computer Technologies and Information Sciences