Encoding Ownership Types In Java

TOOLS'10: Proceedings of the 48th international conference on Objects, models, components, patterns(2010)

引用 4|浏览14
暂无评分
摘要
Ownership types systems organise the heap into a hierarchy which can be used to support encapsulation properties, effects, and invariants. Ownership types have many applications including parallelisation, concurrency, memory management, and security. In this paper, we show that several flavours and extensions of ownership types can be entirely encoded using the standard Java type system.Ownership types systems usually require a sizable effort to implement and the relation of ownership types to standard type systems is poorly understood. Our encoding demonstrates the connection between ownership types and parametric and existential types. We formalise our encoding using a model for Java's type system, and prove that it is sound and enforces an ownership hierarchy. Finally, we leverage our encoding to produce lightweight compilers for Ownership Types and Universe Types - each compiler took only one day to implement.
更多
查看译文
关键词
Ownership type,Ownership types system,Ownership Types,ownership hierarchy,existential type,standard Java type system,standard type system,type system,Universe Types,encapsulation property,Encoding ownership type
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要