Australasian Computer Science Conference (ACSC '01)
Alias Analysis On Type Inference For Class Hierarchy In Java
Gold Coast, Queensland, Australia
January 29-February 02
ISBN: 0-7695-0963-0
The integration of alias analysis with type information increases the precision of alias detection, especially for inheritance among classes. This paper presents a compile-time flow-sensitive context-insensitive alias analysis algorithm with type information for Java. First, we propose an aliased element representation for an object to compute aliases efficiently. Second, the algorithm computes aliases for shadowed variables by regarding constructors as functions. Third, it perform type inference for each reference variable. The inferred type information increases the precision of subsequent alias analysis by building a complete calling graph, not only for overridden methods but also for both shadowed variables and constructors. Fourth, it presents algorithms to compute aliases for each tatement. As a result, the precision and efficiency of the algorithm is improved.
Citation:
Jongwook Woo, Jean-Luc Gaudiot, Isabelle Attali, Denis Caromel, Andrew L. Wendelborn, "Alias Analysis On Type Inference For Class Hierarchy In Java," acsc, pp.206, Australasian Computer Science Conference (ACSC '01), 2001