article

Alias analysis for exceptions in Java

Abstract

We propose a flow-sensitive alias analysis algorithm that computes safe and efficient alias sets in Java. For that, we propose a references-set representation of aliased elements, its type table, and its propagation rules. Also, for an exception construct, we consider try/catch/finally blocks as well as potential exception statement nodes while building a control flow graph. Finally, for the safe alias computation on a control flow graph, we present a structural order traverse of each block and node.

References

  1. {BCC97} M. Burke, P. Carini, and J. Choi. Interprocedural Pointer Alias Analysis. Research Report RC 21055, IBM T.J. Watson Research Center, December 1997.Google ScholarGoogle Scholar
  2. {CBC93} J. Choi, M. Burke, and P. Carini. Efficient Flow-Sensitive Interprocedural Computation of Pointer-Induced Aliases and Side Effects. The 20th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages, 232-245, January 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. {CGHS99} J. Choi, D. Grove, M. Hind, and V. Sarkar. Efficient and Precise Modeling of Exceptions for the Analysis of Java Programs. Proceedings of the ACM SIGPLAN SIGSOFT workshop on Program analysis for software tools and engineering September 6, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. {CR97} R. Chatterjee and B. G. Ryder. Scalable, flow-sensitive type inference for statically typed object-oriented languages. Technical Report DCS-TR-326, Rutgers University, August 1997.Google ScholarGoogle Scholar
  5. {CS95} P. Carini and H. Srinivasan. Flow-Sensitive Type Analysis for C++. Research Report RC 20267, IBM T. J. Watson Research Center, November 1995.Google ScholarGoogle Scholar
  6. {EGH94} M. Emami, R. Ghiya, and L. J. Hendren. Context-sensitive interprocedural point-to analysis in the presence of function pointers. SIGPLAN '94 Conference on Programming Language Design and Implementation, 242-256, SIGPLAN Notices, 29(6), 1994 Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. {Flan97} David Flanagan, Java in a nutshell, 2nd Edition, O'REILLY, May 1997.Google ScholarGoogle Scholar
  8. {Much97} S. S. Muchnick. Advanced Compiler Design and Implementation. Morgan Kaufmann Academic Press, July 1997. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. {PR94} H. D. Pande and B. G. Ryder. Static Type Determination and Aliasing for C++. Technical Report LCSR-TR-236, Rutgers University, December 1994.Google ScholarGoogle Scholar
  10. {PR95} H. D. Pande and B. G. Ryder. Static Type Determination and Aliasing for C++. Technical Report LCSR-TR-250-A, Rutgers University, October 1995.Google ScholarGoogle Scholar
  11. {WWACGW016} Jongwook Woo, Jehak Woo, Isabelle Attali, Denis Caromel, Jean-Luc Gaudiot, and Andrew L Wendelborn. Alias Analysis On Type Inference In Class Hierarchy In Java. In proceedings of Twenty-Fourth Australasian Computer Science Conference, Jan 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. {WWACGW011} Jongwook Woo, Jehak Woo, Isabelle Attali, Denis Caromel, Jean-Luc Gaudiot, and Andrew L Wendelborn. Alias Analysis for Java with Referrence-Set Representation. In proceedings of Eighth International Conference on Parallel and Distributed Systems, June 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. {WWG00} Jehak Woo, Jongwook Woo and Jean-Luc Gaudiot. Flow-Sensitive Alias Analysis with Referred-Set Representation for Java. The Fourth International Conference/ Exhibition on High Performance Computing in Asia Pacific Region, May 2000.Google ScholarGoogle Scholar

Index Terms

  1. Alias analysis for exceptions in Java

                Comments

                Login options

                Check if you have access through your login credentials or your institution to get full access on this article.

                Sign in

                Full Access

                • Article Metrics

                  • Downloads (Last 12 months)0
                  • Downloads (Last 6 weeks)0

                  Other Metrics

                About Cookies On This Site

                We use cookies to ensure that we give you the best experience on our website.

                Learn more

                Got it!