Sciweavers

ECOOP
2012
Springer

Inference and Checking of Object Ownership

11 years 6 months ago
Inference and Checking of Object Ownership
Ownership type systems describe a heap topology and enforce an encapsulation discipline; they aid in various program correctness and understanding tasks. However, the annotation overhead of ownership type systems has hindered their widespread use. We present a unified framework for specification, type inference and type checking of ownership type systems, and instantiate the framework for two such systems: Universe Types and Ownership Types. We present an objective metric defining a “best typing” for these type systems, and develop an inference approach that maximizes the metric. The programmer can influence the inference by adding partial annotations to the program. We implemented the approach on top of the Checker Framework and present the results of an experimental evaluation.
Wei Huang, Werner Dietl, Ana Milanova, Michael D.
Added 28 Sep 2012
Updated 28 Sep 2012
Type Journal
Year 2012
Where ECOOP
Authors Wei Huang, Werner Dietl, Ana Milanova, Michael D. Ernst
Comments (0)