Multiple Ownership (2007)
| Venue: | In OOPSLA |
| Citations: | 26 - 7 self |
BibTeX
@INPROCEEDINGS{Drossopoulou07multipleownership,
author = {Sophia Drossopoulou and James Noble and Matthew J Smith},
title = {Multiple Ownership},
booktitle = {In OOPSLA},
year = {2007}
}
OpenURL
Abstract
Existing ownership type systems require objects to have precisely one primary owner, organizing the heap into an ownership tree. Unfortunately, a tree structure is too restrictive for many programs, and prevents many common design patterns where multiple objects interact. Multiple Ownership is an ownership type system where objects can have more than one owner, and the resulting ownership structure forms a DAG. We give a straightforward model for multiple ownership, focusing in particular on how multiple ownership can support a powerful effects system that determines when two computations interfere — in spite of the DAG structure. We present a core programming language MOJO, Multiple Ownership for Java-like Objects, including a type and effects system, and soundness proof. In comparison to other systems, MOJO imposes absolutely no restrictions on pointers, modifications or programs’ structure, but in spite of this, MOJO’s effects can be used to reason about or describe programs ’ behaviour.







