Affiliation:
1. University of California at Irvine, USA
2. University of California at Davis, USA
3. Nanjing University, China
Abstract
A calling context is an important piece of information used widely to help developers understand program executions (e.g., for debugging). While calling contexts offer useful control information, information regarding data involved in a bug (e.g., what data structure holds a leaking object), in many cases, can bring developers closer to the bug's root cause. Such data information, often exhibited as heap reference paths, has already been needed by many tools.
The only way for a dynamic analysis to record complete reference paths is to perform heap dumping, which incurs huge runtime overhead and renders the analysis impractical. This paper presents a novel static analysis that can precisely infer, from a calling context of a method that contains a use (e.g., read or write) of an object, the heap reference paths leading to the object at the time the use occurs. Since calling context recording is much less expensive, our technique provides benefits for all dynamic techniques that need heap information, significantly reducing their overhead.
Funder
National Science Foundation
Office of Naval Research
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference54 articles.
1. GC assertions
2. Rajeev Alur. 2007. Marrying Words and Trees. In PODS. 233–242. 10.1145/1265530.1265564 Rajeev Alur. 2007. Marrying Words and Trees. In PODS. 233–242. 10.1145/1265530.1265564
3. Analysis of recursive state machines
4. Rajeev Alur and P. Madhusudan. 2004. Visibly Pushdown Languages. In STOC. 202–211. 10.1145/1007352.1007390 Rajeev Alur and P. Madhusudan. 2004. Visibly Pushdown Languages. In STOC. 202–211. 10.1145/1007352.1007390
5. Osbert Bastani Saswat Anand and Alex Aiken. 2015. Specification Inference Using CFL Reachability. In POPL. 553–566. 10.1145/2676726.2676977 Osbert Bastani Saswat Anand and Alex Aiken. 2015. Specification Inference Using CFL Reachability. In POPL. 553–566. 10.1145/2676726.2676977
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Eagle;ACM Transactions on Software Engineering and Methodology;2021-10-31