Assuring Structural Parallel Programs Based on Scoped Permissions.

Yang Zhao,Ligong Yu,Gongxuan Zhang,Jia Bei
DOI: https://doi.org/10.4304/jsw.4.4.283-290
2009-01-01
Abstract:This paper proposes a “scoped permission” system for a simple object-oriented language with sharedmemory and structural parallelism. The permission is abstracted as a linear value associated with some piece of state in a program and it is normally adopted in program analysis and verification. In this paper, the permission nesting is utilized to model the protection mechanism associated with field instances, while the partial order among different locks is specified when parallel executions start. By generating and eliminating shared facts, the order in our system is designed to be scoped and mutable. We show the operational semantics as well as some permission rules, and demonstrate how to interpret program annotations into permission representations.
What problem does this paper attempt to address?