Publikationsansicht

Type-based Object Immutability with Flexible Initialization (2009)

Abstract
Abstract. We present a type system for checking object immutability, reference immutability, and class immutability in an open or closed world. In order to separate object initialization from object constructors (which is often needed in practice), immutable objects are initialized in lexically scoped regions. The system is simple and direct; its only type qualifiers specify immutability properties. No auxiliary annotations, e.g., ownership types, are needed, yet good support for deep immutability is provided. To express object confinement, as required for class immutability in an open world, we make use of qualifier polymorphism. The system has two versions: one version with explicit specification commands that delimit the object initialization phase, and one version where such commands are implicit and inferred. In the latter version, all annotations are compatible with

Details der Publikation
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.142.4205
Quelle http://www.cs.kun.nl/~erikpoll/publications/jimuva.pdf
Mitarbeiter CiteSeerX
Archiv CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Typ text
Sprache Englisch
Verknüpfungen 10.1.1.23.5498, 10.1.1.10.4654, 10.1.1.5.2588, 10.1.1.105.322, 10.1.1.2.1059, 10.1.1.74.3710, 10.1.1.76.4190