Werner Dietl
wdietl@uwaterloo.ca, Room EIT 4007
Tunable Static Inference for Generic Universe Types
Download: PDF.
“Tunable Static Inference for Generic Universe Types” by W. Dietl, M. D. Ernst, and P. Müller. In European Conference on Object-Oriented Programming (ECOOP), July 2011, pp. 333-357. Best Paper Award.
Abstract
Object ownership is useful for many applications, including program verification, thread synchronization, and memory management. However, the annotation overhead of ownership type systems hampers their widespread application. This paper addresses this issue by presenting a tunable static type inference for Generic Universe Types. In contrast to classical type systems, ownership types have no single most general typing. Our inference chooses among the legal typings via heuristics. Our inference is tunable: users can indicate a preference for certain typings by adjusting the heuristics or by supplying partial annotations for the program. We present how the constraints of Generic Universe Types can be encoded as a boolean satisfiability (SAT) problem and how a weighted Max-SAT solver finds a correct Universe typing that optimizes the weights. We implemented the static inference tool, applied our inference tool to four real-world applications, and inferred interesting ownership structures.
Keywords: Generic Universe Types, ownership inference, tunable static
Download: PDF.
BibTeX entry:
@inproceedings{DietlErnstMueller11, author = {W. Dietl and M. D. Ernst and P. M\{"u}ller}, title = {{Tunable Static Inference for Generic Universe Types}}, booktitle = {European Conference on Object-Oriented Programming (ECOOP)}, month = jul, note = Paper Award}} }
Copyright notice: This material is presented to ensure timely dissemination of scholarly and technical work. Copyright and all rights therein are retained by authors or by other copyright holders. All persons copying this information are expected to adhere to the terms and constraints invoked by each author’s copyright. In most cases, these works may not be reposted without the explicit permission of the copyright holder.
(This webpage was created with bibtex2web.)