Computer Science – Programming Languages
Scientific paper
2011-12-16
ScienceAsia 37 (2011): 344-354
Computer Science
Programming Languages
12 pages
Scientific paper
10.2306/scienceasia1513-1874.201
The use of pointers and data-structures based on pointers results in circular memory references that are interpreted by a vital compiler analysis, namely pointer analysis. For a pair of memory references at a program point, a typical pointer analysis specifies if the points-to relation between them may exist, definitely does not exist, or definitely exists. The "may be" case, which describes the points-to relation for most of the pairs, cannot be dealt with by most compiler optimizations. This is so to guarantee the soundness of these optimizations. However, the "may be" case can be capitalized by the modern class of speculative optimizations if the probability that two memory references alias can be measured. Focusing on multithreading, a prevailing technique of programming, this paper presents a new flow-sensitive technique for probabilistic pointer analysis of multithreaded programs. The proposed technique has the form of a type system and calculates the probability of every points-to relation at each program point. The key to our approach is to calculate the points-to information via a post-type derivation. The use of type systems has the advantage of associating each analysis results with a justification (proof) for the correctness of the results. This justification has the form of a type derivation and is very much required in applications like certified code.
No associations
LandOfFree
Probabilistic pointer analysis for multithreaded programs does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with Probabilistic pointer analysis for multithreaded programs, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Probabilistic pointer analysis for multithreaded programs will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-136604