Object-oriented languages allow any object to point to any other object, limited only by type. The resultant possible aliasing makes programs hard to verify and maintain. Much research has been done on alias protection schemes to restrict aliasing. However, existing schemes are either informal (design-pattern-like) or static type-like systems. The former are hard to verify, while the latter tend to be inflexible (e.g. shared ownership is problematic). We introduce aliasing contracts : a novel, dynamic alias protection scheme which is highly flexible. We present JaCon, a prototype implementation of aliasing contracts for Java, and use it to quantify their runtime performance overheads. Results show that aliasing contracts perform comparably to existing debugging tools, demonstrating practical feasibility. © Springer International Publishing 2013.
CITATION STYLE
Voigt, J., & Mycroft, A. (2013). Dynamic alias protection with aliasing contracts. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8301 LNCS, pp. 140–155). https://doi.org/10.1007/978-3-319-03542-0_10
Mendeley helps you to discover research relevant for your work.