Minimal Ownership for Active Objects
Abstract
Active objects offer a structured approach to concurrency, encapsulating both unshared state and a thread of control. For efficient data transfer, data should be passed by reference whenever possible, but this introduces aliasing and undermines the validity of the active objects. This paper proposes a minimal variant of ownership types that preserves the required race freedom invariant yet enables data transfer by reference between active objects (that is, without copying) in many cases, and a cheap clone operation where copying is necessary. Our approach is general and should be adaptable to several existing active object systems.
BibTeX
@inproceedings{Clarke-al:APLAS08,
author = {Dave Clarke and
Tobias Wrigstad and
Johan {\"{O}}stlund and
Einar Broch Johnsen},
title = {Minimal Ownership for Active Objects},
booktitle = {APLAS},
pages = {139--154},
series = {LNCS},
volume = {5356},
publisher = {Springer},
year = {2008},
doi = {10.1007/978-3-540-89330-1\_11},
}