The Effect Race in Fine-Grained Concurrency

02/05/2018
by   Xiaoxiao Yang, et al.
0

Most existed work require knowledge about the effect of program instructions (or statements) to analyze and verify algorithms. In this paper, by revealing some findings on executions of object programs, we define two basic concepts -- effect equivalence relation and effect race relation. Further, we show three effect theorems about the race and histories. The core result is that the effect race relation is the accurate relation to capture the internal steps, of which precedence orders are the reason to cause chaotic histories. In addition, the concept -- linearization points -- widely used in the object verification, is defined formally as the typical effect race relation. These results provide a clear basis for analyzing intricate fine-grained executions. We conduct a lot of experiments on real object algorithms to show the accuracy and efficiency of these definitions in practice. A simple quantitative analysis method for these algorithms is also proposed.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset