Werner Dietl
wdietl@uwaterloo.ca, Room EIT 4007
Separating ownership topology and encapsulation with Generic Universe Types
Download: PDF.
“Separating ownership topology and encapsulation with Generic
Universe Types”
by
W. Dietl,
S. Drossopoulou,
and P. Müller.
ACM Transactions on Programming Languages and Systems, vol. 33, 2011, pp. 20:1-20:62, ACM.
A previous version appeared as
“Separating Ownership Topology and Encapsulation with Generic
Universe Types”
by
W. Dietl,
S. Drossopoulou,
and P. Müller.
June 2010. Submitted.
Abstract
Ownership is a powerful concept to structure the object store and to control aliasing and modifications of objects. This paper presents an ownership type system for a Java-like programming language with generic types.
Like our earlier Universe type system, Generic Universe Types structure the heap hierarchically. In contrast to earlier work, we separate the enforcement of an ownership topology from an encapsulation system. The topological system uses an existential modifier to express that no ownership information is available statically. % On top of the topological system, we build an encapsulation system that enforces the owner-as-modifier discipline. This discipline does not restrict aliasing, but requires modifications of an object to be initiated by its owner. This allows owner objects to control state changes of owned objects, for instance, to maintain invariants. % Separating the topological system from the encapsulation system allows for a cleaner formalization, separation of concerns, and simpler reuse of the individual systems in different contexts.
Keywords: Universe types, UTS, GUT
Download: PDF.
BibTeX entry:
@article{DietlDrossopoulouMueller11, author = {W. Dietl and S. Drossopoulou and P. M\{"u}ller}, title = {Separating ownership topology and encapsulation with {Generic Universe Types}}, journal = {ACM Transactions on Programming Languages and Systems}, }
Copyright notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author’s copyright. In most cases, these works may not be reposted without the explicit permission of the copyright holder.
(This webpage was created with bibtex2web.)