Study on Program Analysis in Parallel Programming Language with Shard Resource Declaration
- Author
- FuXiaoPeng
- Advisor
- ZhangZuo
- School
- University of Science and Technology of China
- Major
- Computer Software and Theory
- Classification
- TP311.1 Programming
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 36
- Citations
- 0
Abstract
Nowadays,the way to synchronously access the shared resources with lock in parallel programming is difficult to write and error-prone.The newly atomic region technique make user easily to write ,but software and hardware technology is not yet satisfactory ,and can not completely support its implementation. Our team proposes a new language abstract with synchronization mechanisms,i.e. holding declaration of shared variables. By declaration and use character of shared resource ,it avoid user writing the parallel program with concerete synchronization mechanisms .Therefore , user keep away from the burden that how to access the shared variables with concrete synchronization mechanisms,like as lock and so on,but also the problem that the atomic region must confront.In the paper,we propose the syntax of the shared variable holding declaration and semantic description,and discuss the method that how to create the shared variables access control code utilizing this kind of declaration.On the basis of designed parallel language SPC by our team,the algorithm of computing holding information for iteger-version and pointer-version parallel language are presented in this paper.This paper mainly depicts and discusses the following works:1、designs and implements a shared variable holding regions’s dataflow analysis algorithm for integer-version parallel language designed by us,to get all holding regions information of shared variables. The object lifetime algorithm is inter-procedural, flow sensitive and context insensitive, used to compute all holding regions information of shared variables in each parallel block.2、designs and implements a flow-sensitive algorithm to compute intra-procedural definition-use chains in dynamic pointer-linked data structures,like as linked-list、tree,to relate the statements that construct links of linked data structures(i.e. definitions) to statements that might traverse the structures though the links(i.e. uses). This algorithm is inter-procedural, flow sensitive and context insensitive. For each statement S that defines links of linked data structures, the algorithm finds the set of statements that traverse the links which are defined by S. The result will be incorporated into the pointer-version parallel language SPC designed and developed by us. It is used to in charge of accurately analyzing and transforming the parallel program in dynamic pointer-linked data structures.
Table of contents
Abstract 4-5
ABSTRACT 5-7
directory 7-10
Chapter 1 Introduction 10-16 <br / > 1.1 problem Description 10-11
1.2 related work 11-14
1.2.1 alias Analysis 12-13
1.2.2 setpoint reference chain 13-14
1.3 research 14-15
1.4 thesis organization 15-16
SPC language in Chapter 2 Introduction 16-30
2.1 SPC language introduced 16-21
2.1.1 motivation 16-18
2.1.2 concrete syntax 18 - 19
2.1.3 shared variable access control 19-20
2.1.4 SPC program example 20-21
2.2 system implementation Framework 21 -22
2.3 SUIF compilation framework and expand 22-29
2.3.1 SUIF platform Introduction 23
2.3.2 SUIF structures and components 23-24
2.3.3 SUIF compiler framework 24-26
2.3.4 SUIF some of the basic module 26-29
2.4 Summary 29-30
Chapter 3 integer maintain the range of analysis and design and implementation 30-40
3.1 basic Definitions 30
3.2 atomic shared variables in the code segment between maintaining 30-31
3.2.1 maintain the range of static division 30-31
3.2.2 maintain the range of dynamic behavior 31 <br / > 3.2.3 language 31
3.3 maintenance interval analysis algorithm 31-35
3.3.1 abstract values ?? 32
3.3.2 data flow, etc. type and conversion equation 32-33
3.3.3 algorithm 33
3.3.4 conversion equation 33-34
3.3.5 maintenance intervals merge 34-35
3.4 algorithm 35-36
3.5 experimental results and analysis 36-37
3.6 Summary 37 -40
Chapter 4 pointer type to maintain the range of design and implementation 40-56
4.1 basic Definitions 40-41
4.2 motivation 41 -42
4.3 problem Description 42-43
4.4 language 43-45
4.5 setpoint reference algorithm 45-52
4.5 .1 reaches setpoint analysis 45-50
4.5.2 reference value chain 50-51
4.5.3 setpoint reference chain 51-52 < br /> 4.6 algorithm 52-53
4.7 experimental results and analysis 53-54
4.8 Chapter Summary 54-56
Chapter 5 Conclusion 56-58
References 58-62
Thanks 62-64
papers published during the reading and research achievements 64
Related dissertations
- Strategy Research of the Process Optimization of the Workshop Job Based on TOC-MES
- Research on Field Management about EMU Assembly Unit Based on LP
- Multiple Perspectives"You Are the One" Program Study
- An Integration of Several Data Flow Analysis Techniques for Program Verification
- The Processing of External Enviroments in Symbolic Execution
- Comparison and Checking between Requrement Models and Programs for Behavioral Consistency
- Research on Key Technologies of Improving the Accuracy of Static Defect Detecting
- Research on Points-to Analysis for Java
- Research on Suspicious Program Analysis Technologies Based on Guidance of Control Flow Information
- The Study of Directional Complement in Teaching Chinese as a Second Language
- Research on Warranty Audit System Improvement of Tianjin Faw Company Based on Toyota Management
- Exception Propagation Analysis and Its Applications
- Adaptability of program analysis techniques
- Research on Software Testing and Reliability Evaluation Method
- Research on Dependence Analysis and Software Testing
- Program Slicing Techniques and Its Application in Object-Oriented Software Metrics and Software Test
- Object-Oriented Reverse Engineering and Software Comprehension
- Constraint Based Prolog Semantics and Its Applications in the Testing, Analysis and Verification of Prolog Programs
- Research on Static Analysis of Memory Errors in C Programs
- Research on Compile Techniques of Fault Tolerance for Soft Errors