学位论文详细信息
Inferring Method Effect Summaries for Nested Heap Regions
refactoring;parallelism;type systems;inference;object-oriented programming
Vakilian, Mohsen ; Johnson ; Ralph E.
关键词: refactoring;    parallelism;    type systems;    inference;    object-oriented programming;   
Others  :  https://www.ideals.illinois.edu/bitstream/handle/2142/17342/mohsen-msthesis-submitted.pdf?sequence=2&isAllowed=y
美国|英语
来源: The Illinois Digital Environment for Access to Learning and Scholarship
PDF
【 摘 要 】

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, that 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: inferring effects annotations automatically saves significant programming burden; and inferred effects are comparable to those in manually-annotated programs, while in many cases they are more accurate.

【 预 览 】
附件列表
Files Size Format View
Inferring Method Effect Summaries for Nested Heap Regions 471KB PDF download
  文献评价指标  
  下载次数:7次 浏览次数:27次