• DocumentCode
    175546
  • Title

    Fast Flow Analysis with Godel Hashes

  • Author

    Shuying Liang ; Weibin Sun ; Might, M.

  • fYear
    2014
  • fDate
    28-29 Sept. 2014
  • Firstpage
    225
  • Lastpage
    234
  • Abstract
    Flow analysis, such as control-flow, data-flow, and exception-flow analysis, usually depends on relational operations on flow sets. Unfortunately, set related operations, such as inclusion and equality, are usually very expensive. They can easily take more than 97% of the total analyzing time, even in a very simple analysis. We attack this performance bottleneck by proposing Godel hashes to enable fast and precise flow analysis. Godel hashes is an ultra compact, partial-order-preserving, fast and perfect hashing mechanism, inspired by the proofs of Godel´s incompleteness theorems. Compared with array, tree, traditional hash, and bit vector-backed set implementations, we find Godel hashes to be tens or even hundreds of times faster for performance in the critical operations of inclusion and equality. We apply Godel hashes in real-world analysis for object-oriented programs. The instrumented analysis is tens of times faster than the one with original data structures on DaCapo benchmarks.
  • Keywords
    data flow analysis; data structures; object-oriented programming; relational algebra; DaCapo benchmarks; Godel Hashes; data structures; fast flow analysis; hashing mechanism; object-oriented programs; partial-order-preserving; relational operations; Arrays; Benchmark testing; Complexity theory; Encoding; Finite element analysis; Hardware; Flow analysis; Godel Hashes; data structure;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation (SCAM), 2014 IEEE 14th International Working Conference on
  • Conference_Location
    Victoria, BC
  • Type

    conf

  • DOI
    10.1109/SCAM.2014.40
  • Filename
    6975656