Journal of Software, Vol 4, No 4 (2009), 283-290, Jun 2009
doi:10.4304/jsw.4.4.283-290

Assuring Structural Parallel Programs based on Scoped Permissions

Yang Zhao, Ligong Yu, Gongxuan Zhang, Jia Bei

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.



References



Full Text: PDF


Journal of Software (JSW, ISSN 1796-217X)

Copyright @ 2006-2012 by ACADEMY PUBLISHER – All rights reserved.