OREGON STATE UNIVERSITY

You are here

Inferring Method Effect Summaries for Nested Heap Regions

TitleInferring Method Effect Summaries for Nested Heap Regions
Publication TypeConference Paper
Year of Publication2009
AuthorsVakilian, M., D. Dig, R. Bocchino, J. Overbey, V. Adve, and R. Johnson
Conference Name2009 24th IEEE/ACM International Conference on Automated Software Engineering (ASE)
Pagination421 - 432
Date Published11/2009
PublisherIEEE
Conference LocationAuckland, New Zealand
ISBN Number978-1-4244-5259-0
Abstract

Effect systems are important for reasoning about the side effects of a program. Although effect systems have been around for decades, they have not been widely adopted in practice because of the large number of annotations that they require. A tool that infers effects automatically can make effect systems practical. We present an effect inference algorithm and an Eclipse plug-in, DPJizer, which alleviate the burden of writing effect annotations for a language called Deterministic Parallel Java (DPJ). The key novel feature of the algorithm is the ability to infer effects on nested heap regions. Besides DPJ, we also illustrate how the algorithm can be used for a different effect system based on object ownership. Our experience shows that DPJizer is both useful and effective: (i) inferring effect annotations automatically saves significant programming burden; and (ii) inferred effects are more precise than those written manually, and are fine-grained enough to enable the compiler to prove determinism of the program.

DOI10.1109/ASE.2009.68