• DocumentCode
    2917083
  • Title

    Alias analysis on type inference for class hierarchy in Java

  • Author

    Woo, Jongwook ; Attali, Isabelle ; Caromel, Denis ; Gaudiot, Jean-Luc ; Wendelborn, A.L.

  • Author_Institution
    Dept. of Electr. Eng. Syst., Univ. of Southern California, Los Angeles, CA, USA
  • fYear
    2001
  • fDate
    2001
  • Firstpage
    206
  • Lastpage
    214
  • Abstract
    The integration of alias analysis with type information increases the precision of alias detection, especially for inheritance among classes. The 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 performs 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 statement. As a result, the precision and efficiency of the algorithm is improved
  • Keywords
    Java; graph theory; inheritance; program diagnostics; type theory; Java language; alias analysis; alias detection; aliased element representation; calling graph; class hierarchy; compile-time flow-sensitive context-insensitive alias analysis algorithm; constructors; inferred type information; inheritance; overridden methods; reference variable; shadowed variables; type inference; type information; Algorithm design and analysis; Buildings; Character generation; Inference algorithms; Information analysis; Java; Parallel processing; Performance analysis; Shape; Switches;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Science Conference, 2001. ACSC 2001. Proceedings. 24th Australasian
  • Conference_Location
    Gold Coast, Qld.
  • ISSN
    1530-0900
  • Print_ISBN
    0-7695-0963-0
  • Type

    conf

  • DOI
    10.1109/ACSC.2001.906644
  • Filename
    906644